diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-12 11:04:14 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-12 11:04:14 +0000 |
commit | 4025e0d918272a97bb46ae849a88df8c4afd37c0 (patch) | |
tree | 0da920fb6c5eb09f86a0ccf51b2d9e117fa25f97 /main/libxml2 | |
parent | 5bb1363654a605b9943689f44e396f59c7e7ffef (diff) | |
download | aports-4025e0d918272a97bb46ae849a88df8c4afd37c0.tar.bz2 aports-4025e0d918272a97bb46ae849a88df8c4afd37c0.tar.xz |
main/libxml2: remove all *.la files
Diffstat (limited to 'main/libxml2')
-rw-r--r-- | main/libxml2/APKBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/main/libxml2/APKBUILD b/main/libxml2/APKBUILD index 2c58133cf1..e7b2cc262a 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 } |