2019-09-28 00:17:56 +08:00
|
|
|
# Description: A set of utilities to manage software packages
|
|
|
|
# URL: http://crux.nu/gitweb/?p=tools/pkgutils.git
|
2019-11-10 23:58:56 +08:00
|
|
|
# Maintainer: Emmett1, emmett1 dot 2miligrams at gmail dot com
|
2019-09-28 00:17:56 +08:00
|
|
|
# Depends on: libarchive
|
|
|
|
|
|
|
|
name=pkgutils
|
|
|
|
version=5.40.7
|
|
|
|
release=1
|
|
|
|
source=(http://crux.nu/files/$name-$version.tar.xz
|
|
|
|
pkgmk.conf
|
|
|
|
pkgutils_ignore-conflict.patch
|
|
|
|
pkgutils_remove-libtool.patch
|
2019-10-10 17:43:15 +08:00
|
|
|
pkgutils_add-compress-infopages.patch
|
|
|
|
pkgutils_fix-build-needed-trigger.patch)
|
2019-09-28 00:17:56 +08:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
for p in $SRC/*.patch; do
|
|
|
|
patch -Np1 -i $p
|
|
|
|
done
|
|
|
|
|
|
|
|
sed -i -e 's/ --static//' \
|
|
|
|
-e 's/ -static//' Makefile
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
install -m644 $SRC/pkgmk.conf $PKG/etc/pkgmk.conf
|
|
|
|
}
|