New package: sinit-0.9_1
This commit is contained in:
parent
f37dbb317d
commit
7d618c3fd7
5
srcpkgs/sinit/files/config.h
Normal file
5
srcpkgs/sinit/files/config.h
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
/* See LICENSE file for copyright and license details. */
|
||||||
|
|
||||||
|
static char *const rcinitcmd[] = { "/bin/rc.init", NULL };
|
||||||
|
static char *const rcrebootcmd[] = { "/bin/rc.shutdown", "reboot", NULL };
|
||||||
|
static char *const rcpoweroffcmd[] = { "/bin/rc.shutdown", "poweroff", NULL };
|
22
srcpkgs/sinit/template
Normal file
22
srcpkgs/sinit/template
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Template file for 'sinit'
|
||||||
|
pkgname=sinit
|
||||||
|
version=0.9
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-makefile
|
||||||
|
replaces="sinit>=0"
|
||||||
|
short_desc="A simple init, initially based on Rich Felker’s minimal init"
|
||||||
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="http://tools.suckless.org/sinit/"
|
||||||
|
distfiles="http://dl.suckless.org/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
|
checksum=2d963e558ae272564c1360b8318e425aa6a69011d562b8e625860f363f8217af
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
LD=$CC
|
||||||
|
cp ${FILESDIR}/config.h config.h
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
||||||
|
vinstall README 644 usr/share/doc/${pkgname}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user