void-packages/srcpkgs/libgsm/template

36 lines
880 B
Plaintext
Raw Normal View History

2011-10-27 00:26:34 +02:00
# Template file for 'libgsm'
pkgname=libgsm
version=1.0.13
revision=3
2011-10-27 00:26:34 +02:00
homepage="http://www.quut.com/gsm/"
distfiles="http://libgsm.sourcearchive.com/downloads/${version}/${pkgname}_${version}.orig.tar.gz"
short_desc="GSM 06.10 lossy speech compression"
maintainer="davehome <davehome@redthumb.info.tm>"
license="BSD-style"
checksum=52c518244d428c2e56c543b98c9135f4a76ff780c32455580b793f60a0a092ad
long_desc="
GSM (Global System for Mobile communications) is a cellular phone system
standard popular outside the USA.
GSM includes a codec, often just referred to as the GSM when discussing
codecs."
subpackages="$pkgname-devel"
wrksrc=gsm-1.0-pl13
Add_dependency run glibc
do_build()
{
make ${makejobs}
gcc -shared ${wrksrc}/src/*.o -o ${wrksrc}/lib/libgsm.so
2011-10-27 00:26:34 +02:00
}
do_install()
{
2011-10-27 00:34:04 +02:00
vmkdir usr/lib
2011-10-27 00:26:34 +02:00
mv ${wrksrc}/bin ${DESTDIR}/usr
2011-10-27 00:34:04 +02:00
mv ${wrksrc}/lib/*.so ${DESTDIR}/usr/lib
2011-10-27 00:26:34 +02:00
}