sic-git: simplify by using the gnu-makefile build_style
This commit is contained in:
parent
10f4f0ed9c
commit
2bb3e267c7
|
@ -1,7 +1,9 @@
|
||||||
# Template file for 'sic-git'
|
# Template file for 'sic-git'
|
||||||
pkgname=sic-git
|
pkgname=sic-git
|
||||||
version=20130828
|
version=20131230
|
||||||
revision=1
|
revision=1
|
||||||
|
build_style=gnu-makefile
|
||||||
|
make_build_args="INCS=-I. LIBS="
|
||||||
short_desc="Simple irc client"
|
short_desc="Simple irc client"
|
||||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -13,18 +15,13 @@ do_fetch() {
|
||||||
git clone ${url} ${pkgname}-${version}
|
git clone ${url} ${pkgname}-${version}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
make CC=$CC INCS="-I." LIBS= ${makejobs}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
make PREFIX=/usr DESTDIR=$DESTDIR install
|
|
||||||
vinstall LICENSE 644 usr/share/licenses/sic
|
vinstall LICENSE 644 usr/share/licenses/sic
|
||||||
vinstall README 644 usr/share/doc/sic
|
vinstall README 644 usr/share/doc/sic
|
||||||
}
|
}
|
||||||
|
|
||||||
sic-git_package() {
|
sic-git_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr
|
vmove all
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue