void-packages/templates/rcorder/template
Juan RP 84222395b8 Provide some vars for use in template's targets.
These new vars are DESTDIR (by default XBPS_DESTDIR/pkgname-version),
SRCPKGDESTDIR (XBPS_DESTDIR/sourcepkg-version) and FILESDIR
(XBPS_TEMPLATESDIR/pkgname/files).

This simplifies packages that used them.

--HG--
extra : convert_revision : 287ea7128cb5df19870ca7aff0a3b8f99a11d63a
2009-03-11 06:31:56 +01:00

27 lines
750 B
Text

# 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()
{
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
}