mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
surf: build with our {C,LD}FLAGS.
This commit is contained in:
parent
c828d59830
commit
c32800b7be
1 changed files with 6 additions and 2 deletions
|
@ -1,9 +1,8 @@
|
||||||
# Template file for 'surf'
|
# Template file for 'surf'
|
||||||
pkgname=surf
|
pkgname=surf
|
||||||
version=0.6
|
version=0.6
|
||||||
revision=4
|
revision=5
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_install_args="PREFIX=/usr"
|
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="webkitgtk2-devel"
|
makedepends="webkitgtk2-devel"
|
||||||
short_desc="Simple web browser based on WebKit/GTK+"
|
short_desc="Simple web browser based on WebKit/GTK+"
|
||||||
|
@ -12,3 +11,8 @@ license="MIT"
|
||||||
homepage="http://surf.suckless.org"
|
homepage="http://surf.suckless.org"
|
||||||
distfiles="http://dl.suckless.org/surf/$pkgname-$version.tar.gz"
|
distfiles="http://dl.suckless.org/surf/$pkgname-$version.tar.gz"
|
||||||
checksum=fdc1ccfaee5c4f008eeb8fe5f9200d3ad71296e8d7af52bdd6a771f111866805
|
checksum=fdc1ccfaee5c4f008eeb8fe5f9200d3ad71296e8d7af52bdd6a771f111866805
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed -i "/CFLAGS/s|\${CPPFLAGS}|& $CFLAGS|g" config.mk
|
||||||
|
sed -i "/LDFLAGS/s|\-s|$LDFLAGS|g" config.mk
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue