wok-current view mate-terminal/receipt @ rev 17084
tramys-server: change DATADIR, fix typo.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Aug 24 23:25:23 2014 +0300 (2014-08-24) |
parents | f499d448d657 |
children | e863f2041090 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mate-terminal"
4 VERSION="1.9.0"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="MATE Terminal is a terminal emulator for the 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+ dconf util-linux-uuid vte mate-desktop harfbuzz"
14 BUILD_DEPENDS="wget cacerts dconf-dev gtk+-dev util-linux-uuid-dev \
15 vte-dev mate-common-dev mate-desktop-dev yelp-tools autoconf automake libtool \
16 itstool harfbuzz-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./autogen.sh \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --disable-static \
26 --disable-scrollkeeper \
27 --with-gnu-ld \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 # Saving some space
37 rm -rf $install/usr/share/man
38 rm -rf $install/usr/share/help
40 mkdir -p $fs/usr
41 cp -a $install/usr $fs
42 }
44 # Post install/remove commands for Tazpkg.
45 post_install()
46 {
47 echo "Processing post-install commands..."
48 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
49 }
51 post_remove()
52 {
53 echo "Processing post-remove commands..."
54 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
55 }