wok-next annotate tabbed/receipt @ rev 19845
Up cookutils, lxpanel, slim, tazlito.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Aug 26 12:10:59 2017 +0300 (2017-08-26) |
parents | |
children | c4e53a39395a |
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 } |