wok-6.x view tabbed/receipt @ rev 17104

Add libsdl2 (thanks necrophcodr)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 30 14:16:28 2014 +0000 (2014-08-30)
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 }