2011-10-27 00:26:34 +02:00
|
|
|
# Template file for 'libgsm'
|
|
|
|
pkgname=libgsm
|
|
|
|
version=1.0.13
|
2011-11-03 12:04:27 +01:00
|
|
|
wrksrc=gsm-1.0-pl13
|
2014-06-08 11:52:36 +02:00
|
|
|
revision=10
|
2011-10-27 00:26:34 +02:00
|
|
|
homepage="http://www.quut.com/gsm/"
|
2012-05-23 11:36:53 +02:00
|
|
|
distfiles="http://www.mangler.org/downloads/${pkgname}-${version}.tar.gz"
|
2011-10-27 00:26:34 +02:00
|
|
|
short_desc="GSM 06.10 lossy speech compression"
|
2014-06-08 11:52:36 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-02-20 17:55:46 +01:00
|
|
|
license="BSD"
|
2011-10-27 00:26:34 +02:00
|
|
|
checksum=52c518244d428c2e56c543b98c9135f4a76ff780c32455580b793f60a0a092ad
|
|
|
|
|
2011-11-03 12:04:27 +01:00
|
|
|
do_build() {
|
2014-05-01 09:26:53 +02:00
|
|
|
make CC=$CC ${makejobs}
|
2011-10-27 00:26:34 +02:00
|
|
|
}
|
|
|
|
|
2011-11-03 12:04:27 +01:00
|
|
|
do_install() {
|
2013-04-13 10:15:49 +02:00
|
|
|
vmkdir usr/include/gsm
|
2011-10-27 00:34:04 +02:00
|
|
|
vmkdir usr/lib
|
2011-11-03 12:04:27 +01:00
|
|
|
vmkdir usr/bin
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
install -m755 bin/* ${DESTDIR}/usr/bin
|
|
|
|
install -m755 lib/*.so ${DESTDIR}/usr/lib
|
|
|
|
install -m644 lib/*.a ${DESTDIR}/usr/lib
|
|
|
|
install -m644 inc/* ${DESTDIR}/usr/include/gsm
|
|
|
|
|
|
|
|
rm -f ${DESTDIR}/usr/include/gsm/*.orig
|
2013-04-16 10:30:46 +02:00
|
|
|
ln -sfr ${DESTDIR}/usr/include/gsm/gsm.h ${DESTDIR}/usr/include/gsm.h
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
libgsm-devel_package() {
|
2014-02-20 17:55:46 +01:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|