wok annotate atril/receipt @ rev 25626
opendkim: add opendkim.conf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 09 09:26:20 2023 +0000 (12 months ago) |
parents | 73f36875e5a7 |
children |
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" |
pascal@25540 | 9 WEB_SITE="https://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 |
pascal@25597 | 22 # What is the latest version available today? |
pascal@24055 | 23 current_version() |
pascal@24055 | 24 { |
pascal@24055 | 25 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25597 | 26 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 27 } |
pascal@24055 | 28 |
yuripourre@18493 | 29 # Rules to configure and make the package. |
yuripourre@18493 | 30 compile_rules() |
yuripourre@18493 | 31 { |
al@19269 | 32 ./autogen.sh \ |
al@19269 | 33 --prefix=/usr \ |
yuripourre@18493 | 34 $CONFIGURE_ARGS && |
yuripourre@18493 | 35 make && |
yuripourre@18493 | 36 make DESTDIR=$DESTDIR install |
yuripourre@18493 | 37 } |
yuripourre@18493 | 38 |
yuripourre@18493 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
yuripourre@18493 | 40 genpkg_rules() |
yuripourre@18493 | 41 { |
yuripourre@18493 | 42 mkdir -p $fs/usr/lib |
yuripourre@18493 | 43 |
yuripourre@18493 | 44 cp -a $install/usr/bin $fs/usr |
yuripourre@18493 | 45 cp -a $install/usr/share $fs/usr |
yuripourre@18493 | 46 cp -a $install/usr/libexec $fs/usr |
yuripourre@18493 | 47 cp -a $install/usr/lib/*.so* $fs/usr/lib |
yuripourre@18493 | 48 cp -a $install/usr/lib/atril $fs/usr/lib |
yuripourre@18493 | 49 cp -a $install/usr/lib/caja $fs/usr/lib |
yuripourre@18494 | 50 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
al@19270 | 51 # Saving some space |
al@19275 | 52 rm -r $fs/usr/share/man $fs/usr/share/help |
psychomaniak@19526 | 53 rm -r $fs/usr/lib/atril/3/backends/lib*a |
psychomaniak@19526 | 54 rm -r $fs/usr/lib/caja/extensions-2.0/libatril*a |
psychomaniak@19526 | 55 rm -rf $fs/usr/lib/pkgconfig |
yuripourre@18493 | 56 } |