Commit 6f2d3114 authored by Natanael Copa's avatar Natanael Copa

main/popt: move to /lib

ref #669
parent 762bc44f
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=popt
pkgver=1.16
pkgrel=2
pkgrel=3
pkgdesc="A commandline option parser"
url="http://rpm5.org"
arch="all"
......@@ -13,12 +13,22 @@ subpackages="$pkgname-doc $pkgname-dev"
build ()
{
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr
./configure --prefix=/usr \
--libdir=/lib \
|| return 1
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR=$pkgdir install || return 1
rm -f "$pkgdir"/lib/*.la
}
dev() {
default_dev
mkdir -p "$subpkgdir"/lib/
mv "$pkgdir"/lib/*.a "$subpkgdir"/lib/
}
md5sums="3743beefa3dd6247a73f8f7a32c14c33 popt-1.16.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment