void-packages/srcpkgs/sinit/template

26 lines
691 B
Plaintext
Raw Normal View History

2014-04-22 22:13:24 +02:00
# Template file for 'sinit'
pkgname=sinit
2014-08-20 14:12:35 +02:00
version=0.9.1
revision=1
2014-04-22 22:13:24 +02:00
build_style=gnu-makefile
replaces="sinit>=0"
short_desc="A simple init, initially based on Rich Felkers minimal init"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="http://tools.suckless.org/sinit/"
distfiles="http://dl.suckless.org/${pkgname}/${pkgname}-${version}.tar.gz"
2014-08-20 14:12:35 +02:00
checksum=bdd21334b263611cf7d481e3ce9e57a16285fa9155869d877e5c33744ae324cd
2014-04-22 22:13:24 +02:00
pre_build() {
LD=$CC
cp ${FILESDIR}/config.h config.h
2014-08-03 15:00:56 +02:00
sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' config.mk
sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk
2014-04-22 22:13:24 +02:00
}
post_install() {
2014-07-05 18:37:51 +02:00
vlicense LICENSE
vdoc README
2014-04-22 22:13:24 +02:00
}