wok-current annotate matchbox-common/receipt @ rev 25478
icedtea6-jdk: adjusted ecj version
author | Hans-G?nter Theisgen |
---|---|
date | Fri Oct 14 06:10:44 2022 +0100 (2022-10-14) |
parents | 241fb98cab1c |
children |
rev | line source |
---|---|
pankso@10838 | 1 # SliTaz package receipt. |
pankso@10838 | 2 |
pankso@10838 | 3 PACKAGE="matchbox-common" |
pankso@10838 | 4 VERSION="0.9.1" |
pankso@10838 | 5 CATEGORY="x-window" |
pankso@10838 | 6 SHORT_DESC="Common files for matchbox window manager." |
pankso@10838 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15584 | 8 LICENSE="GPL2" |
pankso@10838 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@10838 | 10 WEB_SITE="http://matchbox-project.org/" |
pascal@24978 | 11 WGET_URL="http://downloads.yoctoproject.org/releases/matchbox/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@10838 | 12 |
pankso@10838 | 13 DEPENDS="gtk+ libmatchbox" |
pankso@10838 | 14 BUILD_DEPENDS="gtk+-dev libmatchbox-dev" |
pankso@10838 | 15 |
pascal@24453 | 16 # What is the latest version available today? |
pascal@24453 | 17 current_version() |
pascal@24453 | 18 { |
pascal@24453 | 19 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-common/$( \ |
pascal@24453 | 20 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-common/ 2>/dev/null | \ |
pascal@24453 | 21 sed '/href="[0-9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \ |
pascal@24453 | 22 sed '/href="matchbox-common-[0-9]/!d;s|.*="matchbox-common-||;s|.tar.*||' | sort -Vr | sed q |
pascal@24453 | 23 } |
pascal@24453 | 24 |
pankso@10838 | 25 # Rules to configure and make the package. |
pankso@10838 | 26 compile_rules() |
pankso@10838 | 27 { |
pankso@10838 | 28 ./configure $CONFIGURE_ARGS && |
pankso@10838 | 29 make && make install |
pankso@10838 | 30 } |
pankso@10838 | 31 |
pankso@10838 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10838 | 33 genpkg_rules() |
pankso@10838 | 34 { |
pankso@10838 | 35 mkdir -p $fs/usr/bin |
pankso@10838 | 36 cp -a $install/usr/share $fs/usr |
pankso@10838 | 37 cp -a $stuff/matchbox-session $fs/usr/bin |
pankso@10838 | 38 # For matchbox v2 |
pankso@10838 | 39 #cp -a $stuff/matchbox-session-2 $fs/usr/bin |
pankso@10838 | 40 } |