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