wok view atril/receipt @ rev 19024

syslinux/win32.c: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 02 17:08:51 2016 +0200 (2016-04-02)
parents 5caa6594da47
children 7f39549720b8
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_remove()
48 {
49 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
50 }