New package: GSM 6.10 codec
This commit is contained in:
parent
195a87d94e
commit
87de2adf1c
3 changed files with 51 additions and 0 deletions
1
srcpkgs/libgsm-devel
Symbolic link
1
srcpkgs/libgsm-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libgsm
|
16
srcpkgs/libgsm/libgsm-devel.template
Normal file
16
srcpkgs/libgsm/libgsm-devel.template
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Template file for 'libgsm-devel'.
|
||||
#
|
||||
short_desc="${short_desc} - Development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run glibc-devel
|
||||
Add_dependency run libgsm
|
||||
|
||||
do_install()
|
||||
{
|
||||
vmkdir usr/lib
|
||||
mv ${wrksrc}/lib/*.a ${DESTDIR}/usr/lib
|
||||
mv ${wrksrc}/inc ${DESTDIR}/usr/include
|
||||
}
|
34
srcpkgs/libgsm/template
Normal file
34
srcpkgs/libgsm/template
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Template file for 'libgsm'
|
||||
pkgname=libgsm
|
||||
version=1.0.13
|
||||
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 -o ${wrksrc}/lib/libgsm.so ${wrksrc}/lib/libgsm.a
|
||||
}
|
||||
|
||||
do_install()
|
||||
{
|
||||
vmkdir usr
|
||||
mv ${wrksrc}/bin ${DESTDIR}/usr
|
||||
mv ${wrksrc}/lib/*.so ${DESTDIR}/usr
|
||||
}
|
Loading…
Reference in a new issue