wok view matchbox-desktop-2/receipt @ rev 25465

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 01 08:33:11 2022 +0000 (19 months ago)
parents 241fb98cab1c
children
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="http://downloads.yoctoproject.org/releases/matchbox/$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 }