2014-04-22 20:13:24 +00:00
|
|
|
|
# Template file for 'sinit'
|
|
|
|
|
pkgname=sinit
|
2015-07-15 17:25:42 +00:00
|
|
|
|
version=1.0
|
2015-01-15 17:57:51 +00:00
|
|
|
|
revision=1
|
2014-04-22 20:13:24 +00:00
|
|
|
|
build_style=gnu-makefile
|
|
|
|
|
short_desc="A simple init, initially based on Rich Felker’s minimal init"
|
2015-11-17 21:24:45 +00:00
|
|
|
|
maintainer='Juan RP <xtraeme@voidlinux.eu>'
|
2014-04-22 20:13:24 +00:00
|
|
|
|
license="MIT"
|
|
|
|
|
homepage="http://tools.suckless.org/sinit/"
|
|
|
|
|
distfiles="http://dl.suckless.org/${pkgname}/${pkgname}-${version}.tar.gz"
|
2015-07-15 17:25:42 +00:00
|
|
|
|
checksum="78c2120a97a5e93b80606c5403bd731152f8a344e47aa4ab74970c1c11dc6fc0"
|
2014-04-22 20:13:24 +00:00
|
|
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
|
LD=$CC
|
2015-07-15 17:25:42 +00:00
|
|
|
|
sed -i 's| -Os||g' config.mk
|
|
|
|
|
sed -i 's|^CPPFLAGS =|override CPPFLAGS +=|g' config.mk
|
|
|
|
|
sed -i 's|^CFLAGS =|override CFLAGS +=|g' config.mk
|
|
|
|
|
sed -i 's|^LDFLAGS =|override 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
|
|
|
|
}
|