wok view atril/receipt @ rev 25669
Up lapack (3.12.0), less (633), libarchive (3.7.2), liblouis (3.28.0), libmicrohttpd (1.0.1), libpng (1.6.43), libssh (0.10.6), libtasn1 (4.19.0), libtirpc (1.3.4), libvpx (1.14.0), libwebp (1.3.2), logrotate (3.21.0), lua (5.4.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 25 16:11:20 2024 +0000 (9 months ago) |
parents | 73f36875e5a7 |
children |
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="https://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 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
26 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./autogen.sh \
33 --prefix=/usr \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/share $fs/usr
46 cp -a $install/usr/libexec $fs/usr
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/lib/atril $fs/usr/lib
49 cp -a $install/usr/lib/caja $fs/usr/lib
50 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
51 # Saving some space
52 rm -r $fs/usr/share/man $fs/usr/share/help
53 rm -r $fs/usr/lib/atril/3/backends/lib*a
54 rm -r $fs/usr/lib/caja/extensions-2.0/libatril*a
55 rm -rf $fs/usr/lib/pkgconfig
56 }