wok-current annotate atril/receipt @ rev 22540
updated bison (2.6.5 -> 3.5)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 03 16:33:16 2020 +0100 (2020-01-03) |
parents | 11b5e93cb5f2 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
yuripourre@18493 | 1 # SliTaz package receipt. |
yuripourre@18493 | 2 |
yuripourre@18493 | 3 PACKAGE="atril" |
yuripourre@18493 | 4 VERSION="1.8.0" |
yuripourre@18493 | 5 CATEGORY="utilities" |
yuripourre@18493 | 6 LICENSE="GPL3" |
psychomaniak@19526 | 7 SHORT_DESC="A document viewer for MATE. Based on evince" |
yuripourre@18493 | 8 MAINTAINER="yuripourre@gmail.com" |
al@19275 | 9 WEB_SITE="http://www.mate-desktop.org/" |
yuripourre@18493 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
yuripourre@18493 | 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" |
yuripourre@18493 | 12 |
psychomaniak@19526 | 13 TAGS="pdf djvu" |
psychomaniak@19526 | 14 DEPENDS="gtk+ mate-desktop dconf libegl-mesa libsecret poppler \ |
psychomaniak@19526 | 15 desktop-file-utils djvulibre zlib" |
psychomaniak@19526 | 16 SUGGESTED="libspectre mate-icon-theme" |
yuripourre@18506 | 17 BUILD_DEPENDS="wget autoconf automake libtool itstool yelp-tools \ |
yuripourre@18493 | 18 gtk+-dev gtk-doc mate-desktop-dev mate-common-dev mate-icon-theme \ |
yuripourre@18493 | 19 libsecret-dev caja-dev poppler-dev util-linux-uuid-dev lcms-dev \ |
yuripourre@18495 | 20 libgcrypt-dev djvulibre-dev" |
yuripourre@18493 | 21 |
yuripourre@18493 | 22 # Rules to configure and make the package. |
yuripourre@18493 | 23 compile_rules() |
yuripourre@18493 | 24 { |
al@19269 | 25 ./autogen.sh \ |
al@19269 | 26 --prefix=/usr \ |
yuripourre@18493 | 27 $CONFIGURE_ARGS && |
yuripourre@18493 | 28 make && |
yuripourre@18493 | 29 make DESTDIR=$DESTDIR install |
yuripourre@18493 | 30 } |
yuripourre@18493 | 31 |
yuripourre@18493 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
yuripourre@18493 | 33 genpkg_rules() |
yuripourre@18493 | 34 { |
yuripourre@18493 | 35 mkdir -p $fs/usr/lib |
yuripourre@18493 | 36 |
yuripourre@18493 | 37 cp -a $install/usr/bin $fs/usr |
yuripourre@18493 | 38 cp -a $install/usr/share $fs/usr |
yuripourre@18493 | 39 cp -a $install/usr/libexec $fs/usr |
yuripourre@18493 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
yuripourre@18493 | 41 cp -a $install/usr/lib/atril $fs/usr/lib |
yuripourre@18493 | 42 cp -a $install/usr/lib/caja $fs/usr/lib |
yuripourre@18494 | 43 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
al@19270 | 44 # Saving some space |
al@19275 | 45 rm -r $fs/usr/share/man $fs/usr/share/help |
psychomaniak@19526 | 46 rm -r $fs/usr/lib/atril/3/backends/lib*a |
psychomaniak@19526 | 47 rm -r $fs/usr/lib/caja/extensions-2.0/libatril*a |
psychomaniak@19526 | 48 rm -rf $fs/usr/lib/pkgconfig |
yuripourre@18493 | 49 } |