wok annotate tabbed/receipt @ rev 24868
updated lxc and lxc-dev (3.2.1 -> 4.0.12)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 30 17:49:17 2022 +0100 (2022-03-30) |
parents | 28f3ef225377 |
children |
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 |
pascal@24462 | 17 # What is the latest version available today? |
pascal@24462 | 18 current_version() |
pascal@24462 | 19 { |
pascal@24462 | 20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24462 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24462 | 22 } |
pascal@24462 | 23 |
pankso@16429 | 24 # Rules to configure and make the package. |
pankso@16429 | 25 compile_rules() |
pankso@16429 | 26 { |
pankso@16429 | 27 case "$ARCH" in |
pankso@16429 | 28 arm*) |
pankso@16429 | 29 sysroot="/cross/$ARCH/sysroot" |
pankso@16429 | 30 sed -i \ |
pankso@16429 | 31 -e s"#LIBS =.*#LIBS = -L$sysroot/usr/lib -lc -lX11#" \ |
pankso@16429 | 32 -e s"#INCS =.*#INCS = -I. -I$sysroot/usr/include#" \ |
pankso@16429 | 33 config.mk || return 1 |
pankso@16429 | 34 esac |
pankso@16429 | 35 make CC=${HOST_SYSTEM}-gcc |
pankso@16429 | 36 } |
pankso@16429 | 37 |
pankso@16429 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16429 | 39 genpkg_rules() |
pankso@16429 | 40 { |
pankso@16429 | 41 mkdir -p $fs/usr/bin $fs/usr/share/${PACKAGE} |
pankso@16429 | 42 cp -a ${src}/${PACKAGE} $fs/usr/bin |
pankso@16429 | 43 } |