faad2: cross build and dbg support.
This commit is contained in:
@@ -1,18 +1,10 @@
|
|||||||
# Template file for 'faad2-devel'.
|
# Template file for 'faad2-devel'.
|
||||||
#
|
#
|
||||||
depends="glibc-devel faad2"
|
depends="glibc-devel faad2>=${version}"
|
||||||
short_desc="${short_desc} (development files)"
|
short_desc="${short_desc} - development files"
|
||||||
long_desc="${long_desc}
|
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
do_install() {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
do_install()
|
|
||||||
{
|
|
||||||
mkdir -p ${DESTDIR}/usr/lib
|
mkdir -p ${DESTDIR}/usr/lib
|
||||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||||
#mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
|
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
|
||||||
#mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,13 +1,15 @@
|
|||||||
# Template file for 'faad2'
|
# Template file for 'faad2'
|
||||||
pkgname=faad2
|
pkgname=faad2
|
||||||
version=2.7
|
version=2.7
|
||||||
revision=3
|
revision=4
|
||||||
distfiles="${SOURCEFORGE_SITE}/faac/$pkgname-$version.tar.bz2"
|
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="CFLAGS=-fPIC"
|
configure_args="CFLAGS=-fPIC"
|
||||||
make_install_args="manmdir=/usr/share/man/man1"
|
make_install_args="manmdir=/usr/share/man/man1"
|
||||||
short_desc="AAC decoding library"
|
short_desc="AAC decoding library"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
homepage="http://www.audiocoding.com/"
|
||||||
|
license="Freeware, GPL-2"
|
||||||
|
distfiles="${SOURCEFORGE_SITE}/faac/$pkgname-$version.tar.bz2"
|
||||||
checksum=14561b5d6bc457e825bfd3921ae50a6648f377a9396eaf16d4b057b39a3f63b5
|
checksum=14561b5d6bc457e825bfd3921ae50a6648f377a9396eaf16d4b057b39a3f63b5
|
||||||
long_desc="
|
long_desc="
|
||||||
FAAD2 is the fastest ISO AAC audio decoder available. FAAD2 correctly
|
FAAD2 is the fastest ISO AAC audio decoder available. FAAD2 correctly
|
||||||
@@ -16,11 +18,9 @@ long_desc="
|
|||||||
|
|
||||||
subpackages="$pkgname-devel"
|
subpackages="$pkgname-devel"
|
||||||
|
|
||||||
post_install()
|
post_install() {
|
||||||
{
|
|
||||||
cd ${wrksrc} || return 1
|
|
||||||
install -D -m644 common/mp4ff/mp4ff_int_types.h \
|
install -D -m644 common/mp4ff/mp4ff_int_types.h \
|
||||||
${DESTDIR}/usr/include/mp4ff_int_types.h || return 1
|
${DESTDIR}/usr/include/mp4ff_int_types.h
|
||||||
mv ${DESTDIR}/usr/share/man/man1/faad.man \
|
mv ${DESTDIR}/usr/share/man/man1/faad.man \
|
||||||
${DESTDIR}/usr/share/man/man1/faad.1
|
${DESTDIR}/usr/share/man/man1/faad.1
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user