wok view tabbed/receipt @ rev 16837

netsurf: add gperf,expat bdep
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Jul 12 19:39:54 2014 +0300 (2014-07-12)
parents
children 934055de50e2
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://tools.suckless.org/tabbed/"
11 WGET_URL="http://dl.suckless.org/tools/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="xorg-libX11 xorg-xwininfo"
15 BUILD_DEPENDS="xorg-libX11-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 case "$ARCH" in
21 arm*)
22 sysroot="/cross/$ARCH/sysroot"
23 sed -i \
24 -e s"#LIBS =.*#LIBS = -L$sysroot/usr/lib -lc -lX11#" \
25 -e s"#INCS =.*#INCS = -I. -I$sysroot/usr/include#" \
26 config.mk || return 1
27 esac
28 make CC=${HOST_SYSTEM}-gcc
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin $fs/usr/share/${PACKAGE}
35 cp -a ${src}/${PACKAGE} $fs/usr/bin
36 }