wok view atril/receipt @ rev 22287

updated xorg-xinit (1.3.4 -> 1.4.1)
author Hans-G?nter Theisgen
date Wed Nov 13 15:07:56 2019 +0100 (2019-11-13)
parents 11b5e93cb5f2
children 5ea0ce1cecc0
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. Based on evince"
8 MAINTAINER="yuripourre@gmail.com"
9 WEB_SITE="http://www.mate-desktop.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
13 TAGS="pdf djvu"
14 DEPENDS="gtk+ mate-desktop dconf libegl-mesa libsecret poppler \
15 desktop-file-utils djvulibre zlib"
16 SUGGESTED="libspectre mate-icon-theme"
17 BUILD_DEPENDS="wget autoconf automake libtool itstool yelp-tools \
18 gtk+-dev gtk-doc mate-desktop-dev mate-common-dev mate-icon-theme \
19 libsecret-dev caja-dev poppler-dev util-linux-uuid-dev lcms-dev \
20 libgcrypt-dev djvulibre-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./autogen.sh \
26 --prefix=/usr \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
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 -r $fs/usr/share/man $fs/usr/share/help
46 rm -r $fs/usr/lib/atril/3/backends/lib*a
47 rm -r $fs/usr/lib/caja/extensions-2.0/libatril*a
48 rm -rf $fs/usr/lib/pkgconfig
49 }