blob: bf2e23a5bc854c5bb65920afa6305fd0e7f63c43 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Template file for 'sinit'
pkgname=sinit
version=1.0
revision=2
build_style=gnu-makefile
short_desc="A simple init, initially based on Rich Felker’s minimal init"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://tools.suckless.org/sinit/"
distfiles="http://dl.suckless.org/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=78c2120a97a5e93b80606c5403bd731152f8a344e47aa4ab74970c1c11dc6fc0
pre_build() {
LD=$CC
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
}
post_install() {
vlicense LICENSE
vdoc README
}
|