void-packages/templates/minilogd/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

23 lines
534 B
Text

# Template file for 'minilogd'
pkgname=minilogd
version=2009.01
build_style=custom-install
short_desc="The Arch linux mini log daemon"
maintainer="Juan RP <xtraeme@gmail.com>"
long_desc="
minlogd is a small log daemon, designed to handle some early
messages sent by consumers until a real syslog is run.
minilogd comes from the Arch linux distribution."
Add_dependency run glibc
do_install()
{
install -d ${DESTDIR}/sbin
cd ${FILESDIR}
gcc ${CFLAGS} minilogd.c -o minilogd
chmod 755 minilogd
mv minilogd ${DESTDIR}/sbin
}