wok-next view tabbed/receipt @ rev 20503

Packing...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 16 06:03:21 2018 +0200 (2018-03-16)
parents c4e53a39395a
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tabbed"
4 VERSION="0.6"
5 CATEGORY="x-window"
6 SHORT_DESC="Simple generic tabbed fronted to xembed aware applications"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://tools.suckless.org/tabbed/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://dl.suckless.org/tools/$TARBALL"
14 BUILD_DEPENDS="xorg-libX11-dev"
16 compile_rules() {
17 case "$ARCH" in
18 arm*)
19 sysroot="/cross/$ARCH/sysroot"
20 sed -i \
21 -e s"#LIBS =.*#LIBS = -L$sysroot/usr/lib -lc -lX11#" \
22 -e s"#INCS =.*#INCS = -I. -I$sysroot/usr/include#" \
23 config.mk || return 1
24 esac
25 make CC=$HOST_SYSTEM-gcc &&
26 install -Dm755 $src/tabbed $install/usr/bin/tabbed
27 }
29 genpkg_rules() {
30 copy @std
31 DEPENDS="xorg-libX11 xorg-xwininfo"
32 }