iglunix/extra/libxml2/build.sh

31 lines
450 B
Bash
Raw Normal View History

2021-01-17 19:15:45 +00:00
pkgver=2.9.10
pkgname=libxml2
bad=""
ext="dev"
fetch() {
curl "ftp://xmlsoft.org/libxml2/libxml2-2.9.10.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --without-python
2021-01-31 11:09:14 +00:00
gmake
2021-01-17 19:15:45 +00:00
}
package() {
cd $pkgname-$pkgver
2021-01-31 11:09:14 +00:00
gmake install DESTDIR=$pkgdir
2021-01-17 19:15:45 +00:00
}
package_dev() {
cd $pkgname-$pkgver
2021-01-31 11:09:14 +00:00
gmake install DESTDIR=$pkgdir
2021-01-17 19:15:45 +00:00
}
license() {
cd $pkgname-$pkgver
cat Copyright
}