ii: CFLAGS & LDFLAGS
This commit is contained in:
parent
8ded41310b
commit
2984cb9a19
1 changed files with 7 additions and 6 deletions
|
@ -1,19 +1,20 @@
|
|||
# Template file for 'ii'
|
||||
pkgname=ii
|
||||
version=1.7
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-makefile
|
||||
make_build_args="INCLUDES=-I. LIBS="
|
||||
short_desc="Minimalist FIFO IRC client"
|
||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||
maintainer="Ypnose <ypnoseATvoidlinuxDOTeu>"
|
||||
license="MIT"
|
||||
homepage="http://tools.suckless.org/ii"
|
||||
distfiles="http://dl.suckless.org/tools/$pkgname-$version.tar.gz"
|
||||
homepage="http://tools.suckless.org/${pkgname}"
|
||||
distfiles="http://dl.suckless.org/tools/${pkgname}-${version}.tar.gz"
|
||||
checksum=3a72ac6606d5560b625c062c71f135820e2214fed098e6d624fc40632dc7cc9c
|
||||
|
||||
pre_build() {
|
||||
sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk
|
||||
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk
|
||||
sed -i 's| -O0||g' config.mk
|
||||
sed -i 's|^CFLAGS *=|override CFLAGS +=|g' config.mk
|
||||
sed -i 's|^LDFLAGS *=|override LDFLAGS +=|g' config.mk
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Reference in a new issue