ii: use our *FLAGS

This commit is contained in:
Ypnose 2014-08-03 14:03:58 +02:00
parent 354bd9e09b
commit 6a7bdd3796
1 changed files with 8 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'ii'
pkgname=ii
version=1.7
revision=2
revision=3
build_style=gnu-makefile
make_build_args="INCLUDES=-I. LIBS="
short_desc="Minimalist FIFO IRC client"
@ -11,6 +11,11 @@ homepage="http://tools.suckless.org/ii"
distfiles="http://dl.suckless.org/tools/$pkgname-$version.tar.gz"
checksum=3a72ac6606d5560b625c062c71f135820e2214fed098e6d624fc40632dc7cc9c
post_install() {
vinstall LICENSE 644 usr/share/licenses/$pkgname
pre_build() {
sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk
}
post_install() {
vlicense LICENSE
}