Added minilogd-2009.01 template, from Arch Linux.
--HG-- extra : convert_revision : d4949b0d88c7cc0a1bd82d7d89660e0684dbaf62
This commit is contained in:
26
templates/minilogd/template
Normal file
26
templates/minilogd/template
Normal file
@@ -0,0 +1,26 @@
|
||||
# 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()
|
||||
{
|
||||
local destdir=$XBPS_DESTDIR/$pkgname-$version
|
||||
local filesdir=$XBPS_TEMPLATESDIR/$pkgname/files
|
||||
|
||||
install -d ${destdir}/sbin
|
||||
|
||||
cd ${filesdir}
|
||||
gcc ${CFLAGS} minilogd.c -o minilogd
|
||||
chmod 755 minilogd
|
||||
mv minilogd ${destdir}/sbin
|
||||
}
|
||||
Reference in New Issue
Block a user