eth0s/ports/core/pkgutils/Pkgfile
2020-06-28 23:38:04 +08:00

27 lines
688 B
Text
Executable file

# Description: A set of utilities to manage software packages
# URL: http://crux.nu/gitweb/?p=tools/pkgutils.git
# Maintainer: Emmett1, emmett1 dot 2miligrams at gmail dot com
# 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
pkgutils_add-compress-infopages.patch
pkgutils_fix-build-needed-trigger.patch)
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
}