bar-git: use our {C,LD}FLAGS.
This commit is contained in:
parent
b0386088c6
commit
d41a9e576f
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'bar-git'
|
# Template file for 'bar-git'
|
||||||
pkgname=bar-git
|
pkgname=bar-git
|
||||||
version=20140801
|
version=20140801
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="perl git"
|
hostmakedepends="perl git"
|
||||||
makedepends="libxcb-devel"
|
makedepends="libxcb-devel"
|
||||||
|
@ -17,7 +17,10 @@ do_fetch() {
|
||||||
msg_normal "Fetching source from $url ...\n"
|
msg_normal "Fetching source from $url ...\n"
|
||||||
git clone ${url} ${pkgname}-${version}
|
git clone ${url} ${pkgname}-${version}
|
||||||
}
|
}
|
||||||
|
pre_build() {
|
||||||
|
sed 's/^CFLAGS =/CFLAGS +=/' -i Makefile
|
||||||
|
sed 's/^LDFLAGS =/LDFLAGS +=/' -i Makefile
|
||||||
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
vbin palette.pl
|
vbin palette.pl
|
||||||
vinstall LICENSE 644 usr/share/licenses/bar
|
vinstall LICENSE 644 usr/share/licenses/bar
|
||||||
|
|
Loading…
Reference in New Issue