compat-32/popt-32/Pkgfile
2020-06-26 21:33:04 +10:00

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.18
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}
}