ii: simplify by using the gnu-makefile build_style
This commit is contained in:
parent
6e22e9c7d7
commit
94dc337a48
|
@ -1,7 +1,9 @@
|
|||
# Template file for 'ii'
|
||||
pkgname=ii
|
||||
version=1.7
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
make_build_args="INCLUDES=-I. LIBS="
|
||||
short_desc="Minimalist FIFO IRC client"
|
||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||
license="MIT"
|
||||
|
@ -9,18 +11,12 @@ homepage="http://tools.suckless.org/ii"
|
|||
distfiles="http://dl.suckless.org/tools/$pkgname-$version.tar.gz"
|
||||
checksum=3a72ac6606d5560b625c062c71f135820e2214fed098e6d624fc40632dc7cc9c
|
||||
|
||||
do_build() {
|
||||
sed -i 's/CFLAGS =/CFLAGS +=/g' config.mk
|
||||
make CC=$CC
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make PREFIX=/usr DESTDIR=$DESTDIR install
|
||||
post_install() {
|
||||
vinstall LICENSE 644 usr/share/licenses/$pkgname
|
||||
}
|
||||
|
||||
ii_package() {
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue