tabbed-git: simplify by using the gnu-makefile build_style
This commit is contained in:
parent
2bb3e267c7
commit
e80c36e545
|
@ -1,7 +1,9 @@
|
|||
# Template file for 'tabbed-git'
|
||||
pkgname=tabbed-git
|
||||
version=20131221
|
||||
version=20131230
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
make_build_args="INCS=-I. LIBS=-lX11"
|
||||
makedepends="libX11-devel"
|
||||
short_desc="Simple generic tabbed fronted to xembed aware applications"
|
||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||
|
@ -14,16 +16,14 @@ do_fetch() {
|
|||
git clone ${url} ${pkgname}-${version}
|
||||
}
|
||||
|
||||
do_build() {
|
||||
pre_build() {
|
||||
cp ${FILESDIR}/config.h config.h
|
||||
sed -i 's/CPPFLAGS =/CPPFLAGS +=/g' config.mk
|
||||
sed -i 's/CFLAGS =/CFLAGS +=/g' config.mk
|
||||
sed -i 's/LDFLAGS =/LDFLAGS +=/g' config.mk
|
||||
make CC=$CC INCS="-I." LIBS="-lX11" ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make PREFIX=/usr DESTDIR=$DESTDIR install
|
||||
post_install() {
|
||||
vinstall LICENSE 644 usr/share/licenses/$pkgname
|
||||
}
|
||||
|
||||
|
@ -31,6 +31,6 @@ tabbed-git_package() {
|
|||
provides="tabbed-${version}"
|
||||
replaces="tabbed>=0"
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user