forked from ports/compat-32
24 lines
504 B
Plaintext
24 lines
504 B
Plaintext
# Description: Commandline option parser
|
|
# URL: https://github.com/rpm-software-management/popt
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: popt
|
|
|
|
name=popt-32
|
|
version=1.19
|
|
release=1
|
|
source=(http://ftp.rpm.org/popt/releases/popt-1.x/popt-$version.tar.gz)
|
|
|
|
build() {
|
|
cd ${name%-*}-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--disable-nls
|
|
|
|
make
|
|
make DESTDIR=$PKG pkgconfigdir='/usr/lib32/pkgconfig' install
|
|
|
|
rm -r $PKG/usr/{share,include}
|
|
}
|