aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libzen/APKBUILD
blob: 8223e1ff5ff3712b79fb9c9b3486ab3da9bfd070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Corey Oliver <corey.jon.oliver@gmail.com>
pkgname=libzen
pkgver=0.4.31
pkgrel=0
pkgdesc="shared library for libmediainfo and mediainfo"
url="http://mediainfo.sourceforge.net"
arch="all"
license="BSD"
makedepends="libtool autoconf automake"
source="http://downloads.sourceforge.net/zenlib/${pkgname}_${pkgver}.tar.bz2"
builddir="$srcdir/ZenLib/Project/GNU/Library"

prepare() {
	default_prepare
	cd "$builddir"

	./autogen
}

build() {
	cd "$builddir"

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-shared	\
		--disable-static
	make
}

package() {
	cd "$builddir"

	make DESTDIR="$pkgdir" install
	rm -f "$pkgdir"/usr/lib/*.la
}

sha512sums="ab881b0bf6932c6198649898b03634cdb0c133b4b8cbbb29fd6273b858f7b548cac70a7866622b5b3b5d67f28f9cf4856c95a1cca98bbecdf44291c59fe79765  libzen_0.4.31.tar.bz2"