wok view atril/receipt @ rev 19270

Compress manpages.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 04 16:42:08 2016 +0300 (2016-07-04)
parents 7f39549720b8
children 11b5e93cb5f2
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
29 cook_compress_manpages
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share $fs/usr
39 cp -a $install/usr/libexec $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/lib/atril $fs/usr/lib
42 cp -a $install/usr/lib/caja $fs/usr/lib
43 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
44 # Saving some space
45 rm -rf $fs/usr/share/man
46 rm -rf $fs/usr/share/help
47 }
49 post_remove()
50 {
51 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
52 }