mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/libamz: new aport
This commit is contained in:
parent
db367263e1
commit
767da5c095
39
testing/libamz/APKBUILD
Normal file
39
testing/libamz/APKBUILD
Normal file
@ -0,0 +1,39 @@
|
||||
# Contributor: William Pitcock <nenolod@dereferenced.org>
|
||||
# Maintainer: William Pitcock <nenolod@dereferenced.org>
|
||||
pkgname=libamz
|
||||
pkgver=0.0.2
|
||||
pkgrel=0
|
||||
pkgdesc="library and tools for accessing amazon mp3 download queues"
|
||||
url="http://nenolod.net/projects/libamz"
|
||||
arch="all"
|
||||
license="ISC"
|
||||
depends=
|
||||
makedepends="libgcrypt-dev libsoup-dev libxml2-dev gtk+-dev"
|
||||
install=
|
||||
subpackages="$pkgname-dev"
|
||||
source="http://nenolod.net/~nenolod/distfiles/$pkgname-$pkgver.tar.bz2"
|
||||
|
||||
_builddir="$srcdir"/$pkgname-$pkgver
|
||||
|
||||
prepare() {
|
||||
cd "$_builddir"
|
||||
# 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
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
md5sums="fcecea69be7b62aa6d31b80b23e8f0db libamz-0.0.2.tar.bz2"
|
||||
Loading…
x
Reference in New Issue
Block a user