mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Trim extra newlines at end of file & trailing whitespace.
This commit is contained in:
@@ -8,7 +8,7 @@ source code were replaced, and now LAME is the source code for a fully LGPL'd \
|
||||
MP3 encoder, with speed and quality to rival and often surpass all commercial \
|
||||
competitors.
|
||||
"
|
||||
HOMEPAGE="http://lame.sourceforge.net/"
|
||||
HOMEPAGE="http://lame.sourceforge.net/"
|
||||
SOURCE_URI="http://downloads.sourceforge.net/project/lame/lame/3.99/lame-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="24346b4158e4af3bd9f2e194bb23eb473c75fb7377011523353196b19b9a23ff"
|
||||
LICENSE="GNU LGPL v2"
|
||||
@@ -48,18 +48,18 @@ BUILD_PREREQUIRES="
|
||||
cmd:sed
|
||||
cmd:find
|
||||
"
|
||||
|
||||
|
||||
PATCHES="lame-$portVersion.patch"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p m4
|
||||
# configure checks for gtk, but they didn't include the gtk.m4 so we need to.
|
||||
cp $portDir/additional-files/gtk.m4 m4/gtk.m4
|
||||
cp $portDir/additional-files/gtk.m4 m4/gtk.m4
|
||||
cp `aclocal --print-ac-dir`/iconv.m4 m4/iconv.m4
|
||||
cp $portDir/additional-files/lib-link.m4 m4/lib-link.m4
|
||||
cp $portDir/additional-files/lib-ld.m4 m4/lib-ld.m4
|
||||
cp $portDir/additional-files/lib-prefix.m4 m4/lib-prefix.m4
|
||||
cp $portDir/additional-files/lib-prefix.m4 m4/lib-prefix.m4
|
||||
|
||||
sed -i 's/AM_C_PROTOTYPES//' configure.in
|
||||
sed -i 's/AUTOMAKE_OPTIONS = foreign $(top_srcdir)\/ansi2knr//' \
|
||||
@@ -71,7 +71,7 @@ BUILD()
|
||||
sed -i 's/HAVE_SNDFILE="yes"/HAVE_SNDFILE="no"/g' configure.in
|
||||
sed -i 's/PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.2, HAVE_SNDFILE="no", HAVE_SNDFILE="no")/HAVE_SNDFILE="no"/' configure.in
|
||||
sed -i 's/@SNDFILE_CFLAGS@/-ffast-math/g' frontend/*
|
||||
sed -i 's/@SNDFILE_LIBS@/-ffast-math/g' frontend/*
|
||||
sed -i 's/@SNDFILE_LIBS@/-ffast-math/g' frontend/*
|
||||
|
||||
libtoolize --force --copy --install
|
||||
aclocal -I m4
|
||||
@@ -87,13 +87,13 @@ INSTALL()
|
||||
if [ -n "$secondaryArchSuffix" ]; then
|
||||
rm $binDir/lame
|
||||
fi
|
||||
|
||||
|
||||
rm $libDir/libmp3lame.la
|
||||
|
||||
# prepare devel/lib
|
||||
prepareInstalledDevelLibs libmp3lame
|
||||
fixPkgconfig
|
||||
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
|
||||
Reference in New Issue
Block a user