void-packages/srcpkgs/sic/template
2015-06-14 12:20:05 +02:00

25 lines
697 B
Bash

# Template file for 'sic'
pkgname=sic
version=1.2
revision=2
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS="
short_desc="Simple irc client"
maintainer="Ypnose <ypnoseATvoidlinuxDOTeu>"
license="MIT"
homepage="http://tools.suckless.org/${pkgname}"
distfiles="http://dl.suckless.org/tools/${pkgname}-${version}.tar.gz"
checksum="ac07f905995e13ba2c43912d7a035fbbe78a628d7ba1c256f4ca1372fb565185"
replaces="sic>=0"
pre_build() {
sed -i '10i #include <select.h>' sic.c
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
}