wok-6.x annotate matchbox-panel/receipt @ rev 25145
updated popt and popt-dev (1.16 -> 1.18)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 15:03:18 2022 +0100 (2022-06-29) |
parents | 241fb98cab1c |
children |
rev | line source |
---|---|
pankso@10838 | 1 # SliTaz package receipt. |
pankso@10838 | 2 |
pankso@10838 | 3 PACKAGE="matchbox-panel" |
pankso@10838 | 4 VERSION="0.9.3" |
pankso@10838 | 5 CATEGORY="x-window" |
pankso@10838 | 6 SHORT_DESC="Matchbox panel." |
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+ startup-notification libmatchbox wireless_tools" |
pankso@10838 | 14 BUILD_DEPENDS="gtk+-dev startup-notification-dev libmatchbox-dev wireless_tools-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-panel/$( \ |
pascal@24453 | 20 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel/ 2>/dev/null | \ |
pascal@24453 | 21 sed '/href="0/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \ |
pascal@24453 | 22 sed '/href="matchbox-panel-[0-9]/!d;s|.*="matchbox-panel-||;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 { |
pascal@17670 | 28 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm" |
pankso@10838 | 29 #--enable-small-icons |
pankso@10838 | 30 #--enable-acpi-linux |
pankso@10838 | 31 ./configure \ |
pankso@10838 | 32 $CONFIGURE_ARGS && |
pankso@10838 | 33 make && make install |
pankso@10838 | 34 } |
pankso@10838 | 35 |
pankso@10838 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10838 | 37 genpkg_rules() |
pankso@10838 | 38 { |
pankso@10838 | 39 mkdir -p $fs/usr/share |
pankso@10838 | 40 cp -a $install/usr/bin $fs/usr |
pankso@10838 | 41 cp -a $install/usr/share/applications $fs/usr/share |
pankso@10838 | 42 cp -a $install/usr/share/pixmaps $fs/usr/share |
pankso@10838 | 43 } |