smu-git: use our *FLAGS

This commit is contained in:
Ypnose 2014-08-03 15:07:08 +02:00
parent e8eb3ee482
commit 2fa37c42ca

View file

@ -1,6 +1,6 @@
# Template file for 'smu-git' # Template file for 'smu-git'
pkgname=smu-git pkgname=smu-git
version=20140531 version=20140803
revision=1 revision=1
build_style=gnu-makefile build_style=gnu-makefile
hostmakedepends="git" hostmakedepends="git"
@ -18,6 +18,11 @@ do_fetch() {
git clone ${url} ${pkgname}-${version} git clone ${url} ${pkgname}-${version}
} }
pre_build() {
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/smu vinstall LICENSE 644 usr/share/licenses/smu
} }