diff options
Diffstat (limited to 'extra/libxml2/APKBUILD')
-rw-r--r-- | extra/libxml2/APKBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/libxml2/APKBUILD b/extra/libxml2/APKBUILD new file mode 100644 index 000000000..1b613c3cf --- /dev/null +++ b/extra/libxml2/APKBUILD @@ -0,0 +1,26 @@ +# Contributor: Carlo Landmeter <clandmeter at gmail> +# Maintainer: Carlo Landmeter <clandmeter at gmail> +pkgname=libxml2 +pkgver=2.7.2 +pkgrel=0 +pkgdesc="XML parsing library, version 2" +url="http://www.xmlsoft.org/" +license="MIT" +depends="zlib" +makedepends="zlib-dev" +subpackages="$pkgname-doc $pkgname-dev" +source="ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 + make -j1 DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +md5sums="dc43ff7ae6aded45f578c87b7b0c8766 libxml2-2.7.2.tar.gz" |