diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2013-08-10 21:14:57 +1000 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2013-08-10 21:18:43 +1000 |
commit | 0731f7a0e72ba855c5792daaf3b197e5629b9de6 (patch) | |
tree | 61f994c81b56d5467e62f86c96c8904b93ae4f5c /flac-32/Pkgfile | |
parent | 20ae6cc217470efeb51d50f0fc7056298408363f (diff) | |
download | compat-32-0731f7a0e72ba855c5792daaf3b197e5629b9de6.tar.gz compat-32-0731f7a0e72ba855c5792daaf3b197e5629b9de6.tar.xz |
flac-32: initial import
Diffstat (limited to 'flac-32/Pkgfile')
-rw-r--r-- | flac-32/Pkgfile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/flac-32/Pkgfile b/flac-32/Pkgfile new file mode 100644 index 00000000..7cbf4e01 --- /dev/null +++ b/flac-32/Pkgfile @@ -0,0 +1,29 @@ +# Description: Free Lossless Audio Codec. +# URL: http://xiph.org/flac/ +# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu +# Depends on: libogg-32 + +name=flac-32 +version=1.2.1 +release=3 +source=(http://downloads.sourceforge.net/project/flac/flac-src/flac-$version-src/flac-$version.tar.gz + flac.diff) + +build() { + cd flac-$version + + export LDFLAGS="$LDFLAGS -L/usr/lib32" + + # fix compilation with gcc 4.3 + patch -Np1 -i $SRC/flac.diff + + ./configure \ + --prefix=/usr \ + --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm -r $PKG/usr/{bin,man,include,share/{doc,aclocal}} + rmdir $PKG/usr/share +} |