libgsm: fix devel package from installing config.h in /usr/include (rofl)

This commit is contained in:
davehome 2011-10-30 10:00:56 +00:00
parent cc85809e29
commit feea5e2b06
2 changed files with 6 additions and 2 deletions

View File

@ -8,9 +8,13 @@ long_desc="${long_desc}
Add_dependency run glibc-devel
Add_dependency run libgsm
revision=1
do_install()
{
vmkdir usr/lib
mv ${wrksrc}/lib/*.a ${DESTDIR}/usr/lib
mv ${wrksrc}/inc ${DESTDIR}/usr/include
mv ${wrksrc}/inc ${DESTDIR}/usr/include/gsm
cd ${DESTDIR}/usr/include/gsm && \
ln -s gsm.h ../gsm.h
}

View File

@ -1,7 +1,7 @@
# Template file for 'libgsm'
pkgname=libgsm
version=1.0.13
revision=2
revision=3
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"