2009-02-25 16:59:13 +01:00
|
|
|
# Template file for 'xbps-base-pkg'
|
|
|
|
pkgname=xbps-base-pkg
|
2009-04-03 15:57:13 +02:00
|
|
|
version=0.4
|
2009-02-25 16:59:13 +01:00
|
|
|
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()
|
|
|
|
{
|
2009-03-11 06:31:56 +01:00
|
|
|
mkdir -p ${DESTDIR}/lib
|
2009-02-25 16:59:13 +01:00
|
|
|
|
|
|
|
for f in bin cmpver digest repo pkgdb; do
|
2009-02-25 17:02:14 +01:00
|
|
|
install -D -m755 /usr/local/sbin/xbps-${f} \
|
2009-03-11 06:31:56 +01:00
|
|
|
${DESTDIR}/sbin/xbps-${f}
|
2009-02-25 16:59:13 +01:00
|
|
|
done
|
2009-03-11 06:31:56 +01:00
|
|
|
cp -a /usr/local/lib/libxbps.so* ${DESTDIR}/lib
|
2009-02-25 16:59:13 +01:00
|
|
|
}
|