diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-03-15 17:47:35 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-03-15 17:47:35 +0000 |
commit | 8e14c1420d46ec3f0d24e922bc7b188b4b02f487 (patch) | |
tree | 7703fc024b086d419440e149aa97dc3d29f8c593 /extra | |
parent | 98d3307f4b9368f2bcfbdb469af73f94dcb943b5 (diff) | |
download | aports-8e14c1420d46ec3f0d24e922bc7b188b4b02f487.tar.bz2 aports-8e14c1420d46ec3f0d24e922bc7b188b4b02f487.tar.xz |
extra/flac: new aport
Free Lossless Audio Codec
http://flac.sourceforge.net/
Diffstat (limited to 'extra')
-rw-r--r-- | extra/flac/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/flac/APKBUILD b/extra/flac/APKBUILD new file mode 100644 index 00000000..a5626e1c --- /dev/null +++ b/extra/flac/APKBUILD @@ -0,0 +1,30 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=flac +pkgver=1.2.1 +pkgrel=0 +pkgdesc="Free Lossless Audio Codec" +url="http://flac.sourceforge.net/" +license="custom:Xiph LGPL GPL FDL" +subpackages="$pkgname-dev $pkgname-doc" +depends="uclibc libogg" +makedepends="libogg-dev" +source="http://downloads.sf.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz + " + +build () { + cd "$srcdir"/$pkgname-$pkgver || return 1 + + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --enable-shared \ + --enable-ogg \ + --disable-sse \ + --disable-rpath \ + --disable-cpplibs \ + --with-pic || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 + install -Dm0644 COPYING.Xiph \ + "$pkgdir"/usr/share/licenses/$pkgname/COPYING.Xiph +} +md5sums="153c8b15a54da428d1f0fadc756c22c7 flac-1.2.1.tar.gz" |