wok-6.x view atril/receipt @ rev 18539
Move "msgcat" from "gettext" dev package to "gettext-tools" package for Poedit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 03 10:33:47 2015 +0200 (2015-11-03) |
parents | 47f878462bcb |
children | d5f9f516b706 |
line source
1 # SliTaz package receipt.
3 PACKAGE="atril"
4 VERSION="1.8.0"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="A document viewer for MATE."
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+ mate-desktop libsecret poppler mate-icon-theme \
14 desktop-file-utils djvulibre libspectre zlib"
15 BUILD_DEPENDS="wget autoconf automake libtool itstool yelp-tools \
16 gtk+-dev gtk-doc mate-desktop-dev mate-common-dev mate-icon-theme \
17 libsecret-dev caja-dev poppler-dev util-linux-uuid-dev lcms-dev \
18 libgcrypt-dev djvulibre-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./autogen.sh \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 # Saving some space
34 rm -rf $install/usr/share/man
35 rm -rf $install/usr/share/help
36 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share $fs/usr
40 cp -a $install/usr/libexec $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/lib/atril $fs/usr/lib
43 cp -a $install/usr/lib/caja $fs/usr/lib
44 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
45 }
47 post_install()
48 {
49 echo "Processing post-install commands..."
50 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
51 }
53 post_remove()
54 {
55 echo "Processing post-remove commands..."
56 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
57 }