wok view engrampa/receipt @ rev 18297
Up linux (3.2.71), again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 17 13:02:26 2015 +0200 (2015-08-17) |
parents | 349f36ac34b1 |
children | 6fab3264ba87 |
line source
1 # SliTaz package receipt.
3 PACKAGE="engrampa"
4 VERSION="1.9.0"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="MATE archive manipulator."
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="bzip2 caja desktop-file-utils gtk+ gzip libarchive tar"
14 BUILD_DEPENDS="wget dbus-dev dconf-dev cacerts autoconf automake libtool itstool \
15 gtk+-dev gtk-doc mate-common-dev mate-desktop-dev yelp-tools"
16 SUGGESTED="unrar unace p7zip yelp-tools zip"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./autogen.sh \
22 --prefix=/usr \
23 --libexecdir=/usr/lib/$PACKAGE \
24 --with-gtk=2.0 \
25 --disable-static \
26 --disable-packagekit \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/$PACKAGE
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 cp -a $install/usr/share/$PACKAGE/* $fs/usr/share/$PACKAGE
39 mkdir -p $fs/usr/share/applications
40 cp -a $install/usr/share/applications/* $fs/usr/share/applications
42 mkdir -p $fs/usr/share/pixmaps
43 cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \
44 $fs/usr/share/pixmaps
45 }
47 # Post install/remove commands for Tazpkg.
48 post_install()
49 {
50 echo "Processing post-install commands..."
51 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
52 }
54 post_remove()
55 {
56 echo "Processing post-remove commands..."
57 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
58 }