wok-next view tabbed/receipt @ rev 19207
Add liboping
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Jun 12 15:30:59 2016 +0100 (2016-06-12) |
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 }