wok annotate matchbox-panel-2/receipt @ rev 25135
updated phpfm (0.9.8 -> 1.7.9)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 10:56:29 2022 +0100 (2022-06-29) |
parents | 380ffe05937a |
children |
rev | line source |
---|---|
pascal@11557 | 1 # SliTaz package receipt. |
pascal@11557 | 2 |
pascal@11557 | 3 PACKAGE="matchbox-panel-2" |
pascal@11557 | 4 VERSION="2111" |
pascal@11557 | 5 CATEGORY="x-window" |
pascal@11557 | 6 SHORT_DESC="Matchbox panel v2." |
pascal@11557 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@11557 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11557 | 10 WEB_SITE="http://matchbox-project.org/" |
pascal@13146 | 11 #WGET_URL="svn|http://svn.o-hand.com/repos/matchbox/trunk/$PACKAGE" |
pascal@13146 | 12 WGET_URL="http://mirror.slitaz.org/sources/packages/${PACKAGE:0:1}/$TARBALL" |
pascal@11557 | 13 BRANCH="$VERSION" |
pascal@11557 | 14 |
pankso@12481 | 15 DEPENDS="gtk+ dbus dbus-glib util-linux-uuid" |
pascal@13146 | 16 BUILD_DEPENDS="gtk+-dev dbus-dev dbus-glib-dev util-linux-uuid-dev subversion \ |
pascal@13146 | 17 autoconf automake libtool" |
pascal@11557 | 18 |
pascal@24453 | 19 # What is the latest version available today? |
pascal@24453 | 20 current_version() |
pascal@24453 | 21 { |
pascal@24453 | 22 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel/$( \ |
pascal@24453 | 23 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel/ 2>/dev/null | \ |
pascal@24453 | 24 sed '/href="2/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \ |
pascal@24453 | 25 sed '/href="matchbox-panel-[0-9]/!d;s|.*="matchbox-panel-||;s|.tar.*||' | sort -Vr | sed q |
pascal@24453 | 26 } |
pascal@24453 | 27 |
pascal@11557 | 28 # Rules to configure and make the package. |
pascal@11557 | 29 compile_rules() |
pascal@11557 | 30 { |
pascal@11557 | 31 cd $src |
pascal@11557 | 32 ./autogen.sh \ |
pascal@11557 | 33 --disable-startup-notification \ |
pascal@11557 | 34 $CONFIGURE_ARGS && |
pascal@11557 | 35 make && make install |
pascal@11557 | 36 } |
pascal@11557 | 37 |
pascal@11557 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11557 | 39 genpkg_rules() |
pascal@11557 | 40 { |
pascal@11557 | 41 mkdir -p $fs/usr/lib/matchbox-panel |
pascal@11557 | 42 cp -a $install/usr/bin $fs/usr |
pascal@11557 | 43 cp -a $install/usr/lib/matchbox-panel/*.so \ |
pascal@11557 | 44 $fs/usr/lib/matchbox-panel |
pascal@11557 | 45 cp -a $install/usr/share $fs/usr |
pascal@11557 | 46 } |