wok-next view marco/receipt @ rev 18697
Fix pilot-link(-dev) packaging
author | Lucas Levrel <llevrel@yahoo.fr> |
---|---|
date | Mon Dec 14 09:55:05 2015 +0100 (2015-12-14) |
parents | 86780f05c8c2 |
children | 9e01bc6321ea |
line source
1 # SliTaz package receipt.
3 PACKAGE="marco"
4 VERSION="1.9.3"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="A window manager for MATE Desktop."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.mate-desktop.org/"
11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
13 DEPENDS="gtk+ libcanberra libgtop xorg-libICE xorg-libSM \
14 xorg-libXt startup-notification mate-desktop"
15 BUILD_DEPENDS="wget gtk+-dev autoconf automake libtool itstool gtk-doc \
16 mate-common-dev mate-desktop-dev libcanberra-dev libgtop-dev yelp-tools \
17 xorg-libICE-dev xorg-libSM-dev xorg-libXt-dev startup-notification-dev \
18 util-linux-uuid-dev zenity"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./autogen.sh \
24 --prefix=/usr \
25 --sysconfdir=/etc \
26 --localstatedir=/var \
27 --disable-static \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/glib-2.0 $fs/usr/share
38 cp -a $install/usr/share/MateConf $fs/usr/share
39 cp -a $install/usr/share/mate* $fs/usr/share
40 cp -a $install/usr/share/themes $fs/usr/share
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }
44 post_install()
45 {
46 echo "Processing post-install commands..."
47 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
48 }
50 post_remove()
51 {
52 echo "Processing post-remove commands..."
53 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
54 }