wok-6.x annotate matchbox-window-manager-2/receipt @ rev 25367
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 29 07:35:41 2022 +0000 (2022-07-29) |
parents | 0f5d86ffeb8d |
children |
rev | line source |
---|---|
pascal@11558 | 1 # SliTaz package receipt. |
pascal@11558 | 2 |
pascal@11558 | 3 PACKAGE="matchbox-window-manager-2" |
pascal@11558 | 4 VERSION="2106" |
pascal@11558 | 5 CATEGORY="x-window" |
pascal@11558 | 6 SHORT_DESC="Matchbox Window Manager v2." |
pascal@11558 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pascal@11558 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11558 | 10 WEB_SITE="http://matchbox-project.org/" |
pascal@11558 | 11 WGET_URL="svn|http://svn.o-hand.com/repos/matchbox/trunk/$PACKAGE" |
pascal@11558 | 12 BRANCH="$VERSION" |
pascal@11558 | 13 |
pascal@11558 | 14 DEPENDS="gtk+" |
pascal@19812 | 15 BUILD_DEPENDS="gtk+-dev subversion libffi autoconf automake libtool expat-dev" |
pascal@11558 | 16 |
pascal@24744 | 17 # What is the latest version available today? |
pascal@24744 | 18 current_version() |
pascal@24744 | 19 { |
pascal@24744 | 20 wget -O - https://git.yoctoproject.org/libmatchboxwm2/ 2>/dev/null | \ |
pascal@24744 | 21 sed '/title=.[0-9]/!d;s|.*title=.||;s| .*||;s|-||g;q' |
pascal@24744 | 22 } |
pascal@24744 | 23 |
pascal@11558 | 24 # Rules to configure and make the package. |
pascal@11558 | 25 compile_rules() |
pascal@11558 | 26 { |
pascal@17670 | 27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lexpat" |
pascal@15731 | 28 |
pascal@15731 | 29 # http://git.yoctoproject.org/cgit/cgit.cgi/libmatchboxwm2/commit/?h=rib//matchbox-next&context=6 |
pascal@15731 | 30 sed -i 's|XML_StopParser|// &|' matchbox/theme-engines/mb-wm-theme.c |
pascal@15731 | 31 |
pascal@11558 | 32 ./autogen.sh \ |
pascal@11558 | 33 --enable-png-theme \ |
pascal@15632 | 34 --enable-composite-managers=xrender \ |
pascal@11558 | 35 --enable-matchbox-remote \ |
pascal@11558 | 36 --with-pango \ |
pascal@11558 | 37 --with-gtk \ |
pascal@11558 | 38 $CONFIGURE_ARGS && |
pascal@11558 | 39 # Fix Makefile identation. |
pascal@11558 | 40 sed -i s'/ / /' Makefile && |
pascal@11558 | 41 make && make install |
pascal@11558 | 42 } |
pascal@11558 | 43 |
pascal@11558 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11558 | 45 genpkg_rules() |
pascal@11558 | 46 { |
pascal@11558 | 47 mkdir -p $fs/usr |
pascal@11558 | 48 cp -a $install/usr/bin $fs/usr |
pascal@11558 | 49 cp -a $install/usr/share $fs/usr |
pascal@11558 | 50 } |