smu-git: use our *FLAGS
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user