wok-current annotate mate-panel/receipt @ rev 18218
Add nilfs-utils
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 17 22:23:02 2015 +0200 (2015-07-17) |
parents | 6c702454c949 |
children | 9681fc9cc035 |
rev | line source |
---|---|
yuripourre@18078 | 1 # SliTaz package receipt. |
yuripourre@18078 | 2 |
yuripourre@18078 | 3 PACKAGE="mate-panel" |
yuripourre@18078 | 4 VERSION="1.9.1" |
yuripourre@18078 | 5 CATEGORY="utilities" |
yuripourre@18078 | 6 LICENSE="GPL3" |
yuripourre@18078 | 7 SHORT_DESC="Panel where you can run applications and applets using MATE." |
yuripourre@18078 | 8 MAINTAINER="yuripourre@gmail.com" |
yuripourre@18078 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
yuripourre@18078 | 10 WEB_SITE="http://www.mate-desktop.org/" |
yuripourre@18078 | 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" |
yuripourre@18078 | 12 |
yuripourre@18079 | 13 DEPENDS="gtk+ dconf caja libmateweather" |
yuripourre@18078 | 14 BUILD_DEPENDS="wget dconf-dev autoconf automake libtool itstool \ |
yuripourre@18078 | 15 gtk+-dev mate-common-dev mate-desktop-dev mate-menus-dev yelp-tools \ |
yuripourre@18078 | 16 harfbuzz-dev gtk-doc gobject-introspection-dev dbus-glib-dev \ |
yuripourre@18078 | 17 libcanberra-dev libwnck-dev librsvg-dev util-linux-uuid-dev \ |
yuripourre@18080 | 18 libmateweather-dev libsoup-dev sqlite-dev" |
yuripourre@18078 | 19 |
yuripourre@18078 | 20 # Rules to configure and make the package. |
yuripourre@18078 | 21 compile_rules() |
yuripourre@18078 | 22 { |
yuripourre@18078 | 23 ./autogen.sh \ |
yuripourre@18078 | 24 --prefix=/usr \ |
yuripourre@18079 | 25 --sysconfdir=/etc \ |
yuripourre@18079 | 26 --localstatedir=/var \ |
yuripourre@18080 | 27 --disable-introspection\ |
yuripourre@18079 | 28 --disable-static \ |
yuripourre@18078 | 29 $CONFIGURE_ARGS && |
yuripourre@18078 | 30 make && |
yuripourre@18078 | 31 make DESTDIR=$DESTDIR install |
yuripourre@18078 | 32 } |
yuripourre@18078 | 33 |
yuripourre@18078 | 34 genpkg_rules() |
yuripourre@18078 | 35 { |
yuripourre@18080 | 36 mkdir -p $fs/usr/lib |
yuripourre@18080 | 37 cp -a $install/usr/bin $fs/usr |
yuripourre@18078 | 38 cp -a $install/usr/share $fs/usr |
yuripourre@18080 | 39 cp -a $install/usr/libexec $fs/usr |
yuripourre@18080 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
yuripourre@18078 | 41 } |
yuripourre@18080 | 42 |
yuripourre@18080 | 43 post_install() |
yuripourre@18080 | 44 { |
yuripourre@18080 | 45 echo "Processing post-install commands..." |
yuripourre@18080 | 46 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
yuripourre@18080 | 47 } |
yuripourre@18080 | 48 |
yuripourre@18080 | 49 post_remove() |
yuripourre@18080 | 50 { |
yuripourre@18080 | 51 echo "Processing post-remove commands..." |
yuripourre@18080 | 52 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
yuripourre@18080 | 53 } |