void-packages/srcpkgs/sinit/template

25 lines
671 B
Bash
Raw Normal View History

2014-04-22 20:13:24 +00:00
# Template file for 'sinit'
pkgname=sinit
2015-01-15 17:57:51 +00:00
version=0.9.2
revision=1
2014-04-22 20:13:24 +00:00
build_style=gnu-makefile
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"
2015-01-15 17:57:51 +00:00
checksum=52e74eae1eeb9dd3280cc93f96ea8cbc9a4984c75c4aaee1bd91ffd5a4aa83a5
2014-04-22 20:13:24 +00:00
pre_build() {
LD=$CC
cp ${FILESDIR}/config.h config.h
2014-08-03 13:00:56 +00: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 20:13:24 +00:00
}
post_install() {
2014-07-05 16:37:51 +00:00
vlicense LICENSE
vdoc README
2014-04-22 20:13:24 +00:00
}