24 lines
485 B
Plaintext
24 lines
485 B
Plaintext
# 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
|
|
source=(http://ftp.rpm.org/mirror/${name%-*}/${name%-*}-$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}
|
|
}
|