wok-next view tabbed/receipt @ rev 18151

syslinux/taziso/floppyset: add ifmem
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 19 21:57:20 2015 +0200 (2015-06-19)
parents
children c4e53a39395a
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 }