wok-next annotate mate-terminal/receipt @ rev 17876

Bugfix: up slitaz-boot-scripts, tazpkg, and tazpanel to the latest ones.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 28 14:40:59 2015 +0200 (2015-03-28)
parents f499d448d657
children e863f2041090
rev   line source
yuripourre@16950 1 # SliTaz package receipt.
yuripourre@16950 2
yuripourre@16950 3 PACKAGE="mate-terminal"
yuripourre@16950 4 VERSION="1.9.0"
yuripourre@16950 5 CATEGORY="utilities"
yuripourre@16950 6 LICENSE="GPL3"
yuripourre@16950 7 SHORT_DESC="MATE Terminal is a terminal emulator for the MATE desktop."
yuripourre@16950 8 MAINTAINER="yuripourre@gmail.com"
yuripourre@16950 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
yuripourre@16950 10 WEB_SITE="http://www.mate-desktop.org/"
yuripourre@16950 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
yuripourre@16950 12
yuripourre@16950 13 DEPENDS="gtk+ dconf util-linux-uuid vte mate-desktop harfbuzz"
yuripourre@16958 14 BUILD_DEPENDS="wget cacerts dconf-dev gtk+-dev util-linux-uuid-dev \
yuripourre@16958 15 vte-dev mate-common-dev mate-desktop-dev yelp-tools autoconf automake libtool \
yuripourre@16958 16 itstool harfbuzz-dev"
yuripourre@16950 17
yuripourre@16950 18 # Rules to configure and make the package.
yuripourre@16950 19 compile_rules()
yuripourre@16950 20 {
yuripourre@16950 21 ./autogen.sh \
yuripourre@16950 22 --prefix=/usr \
yuripourre@16950 23 --sysconfdir=/etc \
yuripourre@16950 24 --localstatedir=/var \
yuripourre@16950 25 --disable-static \
yuripourre@16950 26 --disable-scrollkeeper \
yuripourre@16950 27 --with-gnu-ld \
yuripourre@16950 28 $CONFIGURE_ARGS &&
yuripourre@16950 29 make &&
yuripourre@16950 30 make DESTDIR=$DESTDIR install
yuripourre@16950 31 }
yuripourre@16950 32
yuripourre@16958 33 # Rules to gen a SliTaz package suitable for Tazpkg.
yuripourre@16950 34 genpkg_rules()
yuripourre@16950 35 {
yuripourre@16958 36 # Saving some space
yuripourre@16958 37 rm -rf $install/usr/share/man
yuripourre@16958 38 rm -rf $install/usr/share/help
yuripourre@16958 39
yuripourre@16950 40 mkdir -p $fs/usr
yuripourre@16950 41 cp -a $install/usr $fs
yuripourre@16950 42 }
yuripourre@16958 43
yuripourre@16958 44 # Post install/remove commands for Tazpkg.
yuripourre@16958 45 post_install()
yuripourre@16958 46 {
yuripourre@16958 47 echo "Processing post-install commands..."
yuripourre@16958 48 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
yuripourre@16958 49 }
yuripourre@16958 50
yuripourre@16958 51 post_remove()
yuripourre@16958 52 {
yuripourre@16958 53 echo "Processing post-remove commands..."
yuripourre@16958 54 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
yuripourre@16958 55 }