sic-git: use our *FLAGS

This commit is contained in:
Ypnose 2014-08-03 14:54:58 +02:00
parent 1f01c2504d
commit b997f8d930
1 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'sic-git' # Template file for 'sic-git'
pkgname=sic-git pkgname=sic-git
version=20140531 version=20140803
revision=1 revision=1
build_style=gnu-makefile build_style=gnu-makefile
hostmakedepends="git" hostmakedepends="git"
@ -18,6 +18,12 @@ do_fetch() {
git clone ${url} ${pkgname}-${version} git clone ${url} ${pkgname}-${version}
} }
pre_build() {
sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' config.mk
sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk
}
post_install() { post_install() {
vinstall LICENSE 644 usr/share/licenses/sic vinstall LICENSE 644 usr/share/licenses/sic
vinstall README 644 usr/share/doc/sic vinstall README 644 usr/share/doc/sic