2015-06-14 10:16:04 +00:00
|
|
|
# Template file for 'sic'
|
|
|
|
pkgname=sic
|
|
|
|
version=1.2
|
2015-06-14 10:27:36 +00:00
|
|
|
revision=4
|
2015-06-14 10:16:04 +00:00
|
|
|
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"
|
2015-06-14 10:27:36 +00:00
|
|
|
replaces="sic-git>=0"
|
2015-06-14 10:16:04 +00:00
|
|
|
|
|
|
|
pre_build() {
|
2015-06-14 10:21:56 +00:00
|
|
|
sed -i '10i #include <sys/select.h>' sic.c
|
2015-06-14 10:16:04 +00:00
|
|
|
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
|
|
|
|
}
|