diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-29 09:46:42 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-29 09:46:42 +0000 |
commit | 08114e959a98c150888b90cc03eeb17898a6137f (patch) | |
tree | bc3801452a10426350f58ef17b6e250ebccdfbe5 /main/audacious/APKBUILD | |
parent | c98d2c856a45c968ed7cb60ef354b4913bc12565 (diff) | |
download | aports-08114e959a98c150888b90cc03eeb17898a6137f.tar.bz2 aports-08114e959a98c150888b90cc03eeb17898a6137f.tar.xz |
main/audacious*: moved frrom testing
Diffstat (limited to 'main/audacious/APKBUILD')
-rw-r--r-- | main/audacious/APKBUILD | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/main/audacious/APKBUILD b/main/audacious/APKBUILD new file mode 100644 index 0000000000..b92bc582aa --- /dev/null +++ b/main/audacious/APKBUILD @@ -0,0 +1,56 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=audacious +pkgver=2.4.2 +pkgrel=0 +pkgdesc="playlist-oriented media player with multiple interfaces" +url="http://audacious-media-player.org/" +arch="all" +license="ISC" +depends= +makedepends="libmowgli-dev libmcs-dev libguess-dev gtk+-dev dbus-glib-dev libxml2-dev" +install= +subpackages="$pkgname-dev" +source="http://distfiles.atheme.org/$pkgname-$pkgver.tgz + uclibc-execinfo.patch" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + + for i in $source; do + case $i in + *.patch) + msg "Applying $i..." + patch -s -p1 -N -i "$srcdir"/$i || return 1 + ;; + esac + done + + # workaround bug in busybox + sed -e "/touch/s/0001010000/200001010000/g" \ + -i configure +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-chardet + make || return 1 +} + +package() { + cd "$_builddir" + + # bleah... + mkdir $pkgdir/usr/bin + + make DESTDIR="$pkgdir" install +} + +md5sums="bffdee15653595a7e9126246dee444e5 audacious-2.4.2.tgz +b200db2ce2f3949deb4fdfa98f0b193d uclibc-execinfo.patch" |