summaryrefslogtreecommitdiffstats
path: root/main/libxml2
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-10-12 11:04:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-10-12 11:04:14 +0000
commit4025e0d918272a97bb46ae849a88df8c4afd37c0 (patch)
tree0da920fb6c5eb09f86a0ccf51b2d9e117fa25f97 /main/libxml2
parent5bb1363654a605b9943689f44e396f59c7e7ffef (diff)
downloadaports-4025e0d918272a97bb46ae849a88df8c4afd37c0.tar.bz2
aports-4025e0d918272a97bb46ae849a88df8c4afd37c0.tar.xz
main/libxml2: remove all *.la files
Diffstat (limited to 'main/libxml2')
-rw-r--r--main/libxml2/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/main/libxml2/APKBUILD b/main/libxml2/APKBUILD
index 2c58133cf..e7b2cc262 100644
--- a/main/libxml2/APKBUILD
+++ b/main/libxml2/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=libxml2
pkgver=2.7.8
-pkgrel=6
+pkgrel=7
pkgdesc="XML parsing library, version 2"
url="http://www.xmlsoft.org/"
arch="all"
@@ -37,7 +37,10 @@ build() {
package() {
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install
- rm "$pkgdir"/usr/lib/*.la
+ rm "$pkgdir"/usr/lib/*.la \
+ "$pkgdir"/usr/lib/python*/site-packages/*.la \
+ || return 1
+
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}