aboutsummaryrefslogblamecommitdiffstats
path: root/extra/libxml2/APKBUILD
blob: 1b613c3cf49e2071b17c069eb9bb73d8e500ab57 (plain) (tree)
1
2
3
4
5
6
7
8






                                                    
             













                                                                     
                                                                            


                                                                
# 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"