milis/talimatname/onsistem/0pkgutils/talimat

22 lines
448 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
name=pkgutils
version=5.35.6
source=(http://crux.nu/files/$name-$version.tar.gz)
build()
{
cd $name-$version
PKG_CONFIG_PATH=/tools/lib/pkgconfig \
make
install -m755 pkgadd /tools/bin/pkgadd
ln -sv pkgadd /tools/bin/pkginfo
ln -sv pkgadd /tools/bin/pkgrm
sed -e "s/#VERSION#/$VERSION/" pkgmk.in > /tools/bin/pkgmk
chmod 755 /tools/bin/pkgmk
install -m666 pkgmk.conf /tools/etc/pkgmk.conf
mkdir -pv $LFS/var/lib/pkg
touch $LFS/var/lib/pkg/db
}