wok-6.x annotate matchbox-window-manager/receipt @ rev 24889
grub2: sed command corrected
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 02 17:34:21 2022 +0100 (2022-04-02) |
parents | 0ad13e0c0b90 |
children | 505d1daeed6c |
rev | line source |
---|---|
pankso@10838 | 1 # SliTaz package receipt. |
pankso@10838 | 2 |
pankso@10838 | 3 PACKAGE="matchbox-window-manager" |
pankso@10838 | 4 VERSION="1.2" |
pankso@10838 | 5 CATEGORY="x-window" |
pankso@10838 | 6 SHORT_DESC="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@17869 | 11 WGET_URL="${WEB_SITE}sources/$PACKAGE/$VERSION/$TARBALL" |
al@17501 | 12 TAGS="window-manager" |
pankso@10838 | 13 |
pankso@10838 | 14 DEPENDS="gtk+ startup-notification libmatchbox" |
pascal@19807 | 15 BUILD_DEPENDS="gtk+-dev startup-notification-dev libmatchbox-dev expat-dev" |
pankso@10838 | 16 |
pascal@24453 | 17 # What is the latest version available today? |
pascal@24453 | 18 current_version() |
pascal@24453 | 19 { |
pascal@24453 | 20 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-window-manager/$( \ |
pascal@24453 | 21 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-window-manager/ 2>/dev/null | \ |
pascal@24453 | 22 sed '/href="[0-9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \ |
pascal@24453 | 23 sed '/href="matchbox-window-manager-[0-9]/!d;s|.*="matchbox-window-manager-||;s|.tar.*||' | sort -Vr | sed q |
pascal@24453 | 24 } |
pascal@24453 | 25 |
pankso@10838 | 26 # Rules to configure and make the package. |
pankso@10838 | 27 compile_rules() |
pankso@10838 | 28 { |
pankso@10838 | 29 ./configure \ |
pankso@10838 | 30 --sysconfdir=/etc \ |
pankso@10838 | 31 --enable-expat \ |
pankso@10838 | 32 --enable-startup-notification \ |
pankso@10838 | 33 --enable-session \ |
pankso@10838 | 34 $CONFIGURE_ARGS && |
pankso@10838 | 35 make && make install |
pankso@10838 | 36 } |
pankso@10838 | 37 |
pankso@10838 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10838 | 39 genpkg_rules() |
pankso@10838 | 40 { |
pankso@10838 | 41 mkdir -p $fs/usr |
pankso@10838 | 42 cp -a $install/etc $fs |
pankso@10838 | 43 cp -a $install/usr/bin $fs/usr |
pankso@10838 | 44 cp -a $install/usr/share $fs/usr |
pankso@10838 | 45 } |