2013-08-29 12:30:39 +00:00
|
|
|
# Template file for 'tabbed-git'
|
|
|
|
pkgname=tabbed-git
|
2014-07-05 17:08:59 +00:00
|
|
|
version=20140705
|
2013-08-29 12:30:39 +00:00
|
|
|
revision=1
|
2013-12-30 17:25:33 +00:00
|
|
|
build_style=gnu-makefile
|
|
|
|
make_build_args="INCS=-I. LIBS=-lX11"
|
2014-07-27 14:05:16 +00:00
|
|
|
hostmakedepends="git"
|
2013-08-29 12:30:39 +00:00
|
|
|
makedepends="libX11-devel"
|
2014-03-17 11:54:12 +00:00
|
|
|
provides="tabbed-${version}_${revision}"
|
2014-01-01 15:10:11 +00:00
|
|
|
replaces="tabbed>=0"
|
2013-08-29 12:30:39 +00:00
|
|
|
short_desc="Simple generic tabbed fronted to xembed aware applications"
|
|
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="http://tools.suckless.org/tabbed/"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://git.suckless.org/tabbed"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
2013-12-30 17:25:33 +00:00
|
|
|
pre_build() {
|
2013-08-29 12:30:39 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2013-12-30 17:25:33 +00:00
|
|
|
post_install() {
|
2014-07-05 17:08:59 +00:00
|
|
|
vinstall LICENSE 644 usr/share/licenses/tabbed
|
2013-08-29 12:30:39 +00:00
|
|
|
}
|