void-packages/templates/xbps-base-pkg/template
Juan RP e9a4eacef8 xbps-base-pkg: bump to 0.3 to reflect "xbps-bin update" support.
--HG--
extra : convert_revision : 2e9c5feaf04629049533048f689b00401325e9f4
2009-04-02 03:21:36 +02:00

24 lines
578 B
Text

# Template file for 'xbps-base-pkg'
pkgname=xbps-base-pkg
version=0.3
build_style=custom-install
short_desc="xbps base package utils"
maintainer="Juan RP <xtraeme@gmail.com>"
long_desc="
This package installs the xbps base package utilities, to handle
xbps binary packages."
Add_dependency run glibc
Add_dependency run libarchive
Add_dependency run proplib
do_install()
{
mkdir -p ${DESTDIR}/lib
for f in bin cmpver digest repo pkgdb; do
install -D -m755 /usr/local/sbin/xbps-${f} \
${DESTDIR}/sbin/xbps-${f}
done
cp -a /usr/local/lib/libxbps.so* ${DESTDIR}/lib
}