2013-05-28 22:38:25 +02:00
|
|
|
# Template file for 'tabbed'
|
|
|
|
pkgname=tabbed
|
|
|
|
version=0.5
|
|
|
|
revision=1
|
|
|
|
homepage="http://tools.suckless.org/tabbed/"
|
|
|
|
distfiles="http://dl.suckless.org/tools/$pkgname-$version.tar.gz"
|
|
|
|
makedepends="libX11-devel"
|
|
|
|
short_desc="Tab interface for application supporting Xembed"
|
|
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
|
|
license="MIT"
|
|
|
|
checksum=21226506761909fadebdd5fae0ff5149b9a378836fa515c45efbcbe504321fb9
|
|
|
|
long_desc="
|
|
|
|
tabbed is a simple tabbed X window container, for application supporting Xembed"
|
|
|
|
|
|
|
|
do_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
|
2013-05-29 12:09:25 +02:00
|
|
|
make CC=$CC INCS="-I." LIBS="-lX11"
|
2013-05-28 22:38:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make PREFIX=/usr DESTDIR=$DESTDIR install
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/$pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
tabbed_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|