wok-stable rev 3856
Add faac
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Aug 07 19:35:09 2009 +0000 (2009-08-07) |
parents | fe884d8ff264 |
children | d9184c7bd1de |
files | faac-dev/receipt faac/receipt faac/stuff/gcc44.patch |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/faac-dev/receipt Fri Aug 07 19:35:09 2009 +0000 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="faac-dev" 1.7 +VERSION="1.28" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="FAAC is an open source MPEG-4 and MPEG-2 AAC encoder devel files." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +DEPENDS="" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.audiocoding.com" 1.14 +WANTED="faac" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/usr/lib 1.20 + cp -a $_pkg/usr/include $fs/usr 1.21 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.22 +} 1.23 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/faac/receipt Fri Aug 07 19:35:09 2009 +0000 2.3 @@ -0,0 +1,34 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="faac" 2.7 +VERSION="1.28" 2.8 +CATEGORY="multimedia" 2.9 +SHORT_DESC="FAAC is an open source MPEG-4 and MPEG-2 AAC encoder." 2.10 +MAINTAINER="paul@slitaz.org" 2.11 +DEPENDS="" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WEB_SITE="http://www.audiocoding.com" 2.14 +WGET_URL="$SF_MIRROR/faac/$TARBALL" 2.15 + 2.16 +# Rules to configure and make the package. 2.17 +compile_rules() 2.18 +{ 2.19 + cd $src/common/mp4v2 2.20 + patch -p0 < ../../../stuff/gcc44.patch || exit 1 2.21 + cd ../.. 2.22 + ./configure \ 2.23 + --prefix=/usr \ 2.24 + --infodir=/usr/share/info \ 2.25 + --mandir=/usr/share/man \ 2.26 + $CONFIGURE_ARGS && 2.27 + make && make DESTDIR=$PWD/_pkg install 2.28 +} 2.29 + 2.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.31 +genpkg_rules() 2.32 +{ 2.33 + mkdir -p $fs/usr/bin $fs/usr/lib 2.34 + cp -a $_pkg/usr/bin $fs/usr 2.35 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.36 +} 2.37 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/faac/stuff/gcc44.patch Fri Aug 07 19:35:09 2009 +0000 3.3 @@ -0,0 +1,14 @@ 3.4 +--- mpeg4ip.h.old Mon Jan 26 22:42:35 2009 3.5 ++++ mpeg4ip.h Thu Aug 6 20:07:05 2009 3.6 +@@ -121,9 +121,9 @@ 3.7 + #include <sys/param.h> 3.8 + 3.9 + #ifdef __cplusplus 3.10 +-extern "C" { 3.11 ++extern "C++" { 3.12 + #endif 3.13 +-char *strcasestr(const char *haystack, const char *needle); 3.14 ++const char *strcasestr(const char *haystack, const char *needle); 3.15 + #ifdef __cplusplus 3.16 + } 3.17 + #endif