wok view matchbox-desktop/receipt @ rev 17869
Use VERSION variable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 09:34:19 2015 +0100 (2015-03-26) |
parents | 17e313b5b9c1 |
children | 241fb98cab1c |
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="${WEB_SITE}sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ startup-notification libmatchbox"
14 BUILD_DEPENDS="gtk+-dev startup-notification-dev libmatchbox-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ldl"
20 ./configure \
21 --sysconfdir=/etc \
22 $CONFIGURE_ARGS &&
23 sed -i s'/$(install_sh) -d/mkdir -p/' data/Makefile &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib/matchbox/desktop
31 cp -a $install/etc $fs
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/matchbox/desktop/*.so \
34 $fs/usr/lib/matchbox/desktop
35 cp -a $install/usr/share $fs/usr
36 }