vp-build/templates/rcorder/template
Juan RP 7f403680eb Added rcorder-2009.01 template, taken from NetBSD HEAD.
--HG--
extra : convert_revision : 84eaf0c93bae0a069eb7a8e242d6c0e4b97af019
2009-03-05 19:39:23 +01:00

30 lines
798 B
Plaintext

# Template file for 'rcorder'
pkgname=rcorder
version=2009.01
build_style=custom-install
short_desc="The NetBSD rcorder(8) program"
maintainer="Juan RP <xtraeme@gmail.com>"
long_desc="
rcorder is designed to print out a dependency ordering of a set of
interdependent files. Typically it is used to find an execution sequence
for a set of shell scripts in which certain files must be executed before
others.
This package is the same program than is available on NetBSD."
Add_dependency run glibc
do_install()
{
local destdir=$XBPS_DESTDIR/$pkgname-$version
mkdir -p ${destdir}/sbin
mkdir -p ${destdir}/usr/share/man/man8
cd $XBPS_TEMPLATESDIR/rcorder/files
make || exit 1
install -m755 ./rcorder ${destdir}/sbin
install -m644 ./rcorder.8 ${destdir}/usr/share/man/man8
make clean
}