wok-6.x annotate tabbed/receipt @ rev 17103
orc-dev: updated deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 30 09:58:45 2014 +0000 (2014-08-30) |
parents | |
children | 934055de50e2 |
rev | line source |
---|---|
pankso@16429 | 1 # SliTaz package receipt. |
pankso@16429 | 2 |
pankso@16429 | 3 PACKAGE="tabbed" |
pankso@16429 | 4 VERSION="0.6" |
pankso@16429 | 5 CATEGORY="x-window" |
pankso@16429 | 6 SHORT_DESC="Simple generic tabbed fronted to xembed aware applications." |
pankso@16429 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16429 | 8 LICENSE="BSD" |
pankso@16429 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@16429 | 10 WEB_SITE="http://tools.suckless.org/tabbed/" |
pankso@16429 | 11 WGET_URL="http://dl.suckless.org/tools/$TARBALL" |
pankso@16429 | 12 HOST_ARCH="i486 arm" |
pankso@16429 | 13 |
pankso@16429 | 14 DEPENDS="xorg-libX11 xorg-xwininfo" |
pankso@16429 | 15 BUILD_DEPENDS="xorg-libX11-dev" |
pankso@16429 | 16 |
pankso@16429 | 17 # Rules to configure and make the package. |
pankso@16429 | 18 compile_rules() |
pankso@16429 | 19 { |
pankso@16429 | 20 case "$ARCH" in |
pankso@16429 | 21 arm*) |
pankso@16429 | 22 sysroot="/cross/$ARCH/sysroot" |
pankso@16429 | 23 sed -i \ |
pankso@16429 | 24 -e s"#LIBS =.*#LIBS = -L$sysroot/usr/lib -lc -lX11#" \ |
pankso@16429 | 25 -e s"#INCS =.*#INCS = -I. -I$sysroot/usr/include#" \ |
pankso@16429 | 26 config.mk || return 1 |
pankso@16429 | 27 esac |
pankso@16429 | 28 make CC=${HOST_SYSTEM}-gcc |
pankso@16429 | 29 } |
pankso@16429 | 30 |
pankso@16429 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16429 | 32 genpkg_rules() |
pankso@16429 | 33 { |
pankso@16429 | 34 mkdir -p $fs/usr/bin $fs/usr/share/${PACKAGE} |
pankso@16429 | 35 cp -a ${src}/${PACKAGE} $fs/usr/bin |
pankso@16429 | 36 } |