Updated lame to 3.99

This commit is contained in:
Scott McCreary
2013-01-24 08:47:29 +00:00
parent e76c335a12
commit dc49b389e9
2 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
DESCRIPTION="LAME Ain't an MP3 Encoder"
HOMEPAGE="http://lame.sourceforge.net/"
SRC_URI="http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.tar.gz"
CHECKSUM_MD5="7abacd1d0a65a63733335786015626db"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd lame-3.99
mkdir -p m4
# configure checks for gtk, but they didn't include the gtk.m4 so we need to.
cp ../../patches/gtk.m4 m4
echo 'AC_CONFIG_MACRO_DIR([m4])' >> configure.in
libtoolize --force --copy --install
aclocal -I m4
autoconf --warnings=none
./configure --prefix=`finddir B_COMMON_DIRECTORY` --without-gtk
make
}
INSTALL {
cd lame-3.99
make install
}
LICENSE="GNU LGPL v2"
COPYRIGHT="1998-2011 Mike Cheng et al."

View File

@@ -0,0 +1,13 @@
diff -urN lame-3.99/configure.in lame-3.99-haiku/configure.in
--- lame-3.99/configure.in 2010-06-21 14:16:05.000000000 +0000
+++ lame-3.99-haiku/configure.in 2010-06-21 15:12:31.000000000 +0000
@@ -343,6 +343,9 @@
*solaris*)
LIBS="$LIBS -lnsl"
;;
+ *haiku*)
+ LIBS="$LIBS -lnetwork"
+ ;;
esac
fi
fi