wok view matchbox-desktop/receipt @ rev 25707
Up perl-net-pcap (0.21), qtermwidget (0.5.1), youtube-dl-gui (0.3.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 05 14:08:34 2024 +0000 (3 months ago) |
parents | 241fb98cab1c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="matchbox-desktop"
4 VERSION="0.9.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Matchbox desktop."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://matchbox-project.org/"
11 WGET_URL="http://downloads.yoctoproject.org/releases/matchbox/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ startup-notification libmatchbox"
14 BUILD_DEPENDS="gtk+-dev startup-notification-dev libmatchbox-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-desktop/$( \
20 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-desktop/ 2>/dev/null | \
21 sed '/href="0/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \
22 sed '/href="matchbox-desktop-[0-9]/!d;s|.*="matchbox-desktop-||;s|.tar.*||' | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ldl"
29 ./configure \
30 --sysconfdir=/etc \
31 $CONFIGURE_ARGS &&
32 sed -i s'/$(install_sh) -d/mkdir -p/' data/Makefile &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib/matchbox/desktop
40 cp -a $install/etc $fs
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/matchbox/desktop/*.so \
43 $fs/usr/lib/matchbox/desktop
44 cp -a $install/usr/share $fs/usr
45 }