wok diff tabbed/receipt @ rev 17310

buildroot: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 02 12:25:01 2014 +0100 (2014-11-02)
parents
children 934055de50e2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tabbed/receipt	Sun Nov 02 12:25:01 2014 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="tabbed"
     1.7 +VERSION="0.6"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Simple generic tabbed fronted to xembed aware applications."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="BSD"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://tools.suckless.org/tabbed/"
    1.14 +WGET_URL="http://dl.suckless.org/tools/$TARBALL"
    1.15 +HOST_ARCH="i486 arm"
    1.16 +
    1.17 +DEPENDS="xorg-libX11 xorg-xwininfo"
    1.18 +BUILD_DEPENDS="xorg-libX11-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	case "$ARCH" in
    1.24 +		arm*)
    1.25 +			sysroot="/cross/$ARCH/sysroot"
    1.26 +			sed -i \
    1.27 +				-e s"#LIBS =.*#LIBS = -L$sysroot/usr/lib -lc -lX11#" \
    1.28 +				-e s"#INCS =.*#INCS = -I. -I$sysroot/usr/include#" \
    1.29 +				config.mk || return 1 
    1.30 +	esac
    1.31 +	make CC=${HOST_SYSTEM}-gcc
    1.32 +}
    1.33 +
    1.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 +genpkg_rules()
    1.36 +{
    1.37 +	mkdir -p $fs/usr/bin $fs/usr/share/${PACKAGE}
    1.38 +	cp -a ${src}/${PACKAGE} $fs/usr/bin
    1.39 +}