summaryrefslogtreecommitdiff
path: root/flac-32/Pkgfile
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2013-08-10 21:14:57 +1000
committerDanny Rawlins <monster.romster@gmail.com>2013-08-10 21:18:43 +1000
commit0731f7a0e72ba855c5792daaf3b197e5629b9de6 (patch)
tree61f994c81b56d5467e62f86c96c8904b93ae4f5c /flac-32/Pkgfile
parent20ae6cc217470efeb51d50f0fc7056298408363f (diff)
downloadcompat-32-0731f7a0e72ba855c5792daaf3b197e5629b9de6.tar.gz
compat-32-0731f7a0e72ba855c5792daaf3b197e5629b9de6.tar.xz
flac-32: initial import
Diffstat (limited to 'flac-32/Pkgfile')
-rw-r--r--flac-32/Pkgfile29
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
+}

Generated by cgit