wok-current annotate matchbox-desktop/receipt @ rev 25117
updated pcre2 and pcre2-dev (10.34 -> 10.40)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 25 16:50:46 2022 +0100 (2022-06-25) |
parents | 241fb98cab1c |
children |
rev | line source |
---|---|
pankso@10838 | 1 # SliTaz package receipt. |
pankso@10838 | 2 |
pankso@10838 | 3 PACKAGE="matchbox-desktop" |
pankso@10838 | 4 VERSION="0.9.1" |
pankso@10838 | 5 CATEGORY="x-window" |
pankso@10838 | 6 SHORT_DESC="Matchbox desktop." |
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" |
pankso@10838 | 14 BUILD_DEPENDS="gtk+-dev startup-notification-dev libmatchbox-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-desktop/$( \ |
pascal@24453 | 20 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-desktop/ 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-desktop-[0-9]/!d;s|.*="matchbox-desktop-||;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 -ldl" |
pankso@10838 | 29 ./configure \ |
pankso@10838 | 30 --sysconfdir=/etc \ |
pankso@10838 | 31 $CONFIGURE_ARGS && |
pankso@10838 | 32 sed -i s'/$(install_sh) -d/mkdir -p/' data/Makefile && |
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/lib/matchbox/desktop |
pankso@10838 | 40 cp -a $install/etc $fs |
pankso@10838 | 41 cp -a $install/usr/bin $fs/usr |
pankso@10838 | 42 cp -a $install/usr/lib/matchbox/desktop/*.so \ |
pankso@10838 | 43 $fs/usr/lib/matchbox/desktop |
pankso@10838 | 44 cp -a $install/usr/share $fs/usr |
pankso@10838 | 45 } |