wok-6.x view matchbox-desktop-2/receipt @ rev 24705

updated laptop-mode-tools (1.73.1 -> 1.74)
author Hans-G?nter Theisgen
date Mon Mar 14 15:02:14 2022 +0100 (2022-03-14)
parents d3eb5f4b53ea
children d358ff3c7097
line source
1 # SliTaz package receipt.
3 PACKAGE="matchbox-desktop-2"
4 VERSION="2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Matchbox desktop v2."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="matchbox-desktop"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://matchbox-project.org/"
12 WGET_URL="${WEB_SITE}sources/$SOURCE/$VERSION/$TARBALL"
14 DEPENDS="gtk+ dbus dbus-glib util-linux-uuid"
15 BUILD_DEPENDS="gtk+-dev dbus-dev dbus-glib-dev util-linux-uuid-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-desktop/$( \
21 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-desktop/ 2>/dev/null | \
22 sed '/href="2/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \
23 sed '/href="matchbox-desktop-[0-9]/!d;s|.*="matchbox-desktop-||;s|.tar.*||' | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
30 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
32 ./configure \
33 --disable-startup-notification \
34 $CONFIGURE_ARGS &&
35 make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }