2019-08-04 22:27:34 +10:00
|
|
|
# Description: Commandline option parser
|
|
|
|
# URL: http://rpm5.org/files/popt/
|
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
|
|
# Depends on: popt
|
|
|
|
|
|
|
|
name=popt-32
|
|
|
|
version=1.16
|
|
|
|
release=1
|
2019-10-30 16:06:20 -05:00
|
|
|
source=(http://ftp.rpm.org/mirror/${name%-*}/${name%-*}-$version.tar.gz)
|
2019-08-04 22:27:34 +10:00
|
|
|
|
|
|
|
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}
|
|
|
|
}
|