wok annotate atril/receipt @ rev 24666
created recipes for double-conversion and double-conversion-dev
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 15:40:49 2022 +0100 (2022-03-11) |
parents | 0812d027f57c |
children | 73f36875e5a7 |
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 |
pascal@24055 | 22 current_version() |
pascal@24055 | 23 { |
pascal@24055 | 24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 25 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 26 } |
pascal@24055 | 27 |
yuripourre@18493 | 28 # Rules to configure and make the package. |
yuripourre@18493 | 29 compile_rules() |
yuripourre@18493 | 30 { |
al@19269 | 31 ./autogen.sh \ |
al@19269 | 32 --prefix=/usr \ |
yuripourre@18493 | 33 $CONFIGURE_ARGS && |
yuripourre@18493 | 34 make && |
yuripourre@18493 | 35 make DESTDIR=$DESTDIR install |
yuripourre@18493 | 36 } |
yuripourre@18493 | 37 |
yuripourre@18493 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
yuripourre@18493 | 39 genpkg_rules() |
yuripourre@18493 | 40 { |
yuripourre@18493 | 41 mkdir -p $fs/usr/lib |
yuripourre@18493 | 42 |
yuripourre@18493 | 43 cp -a $install/usr/bin $fs/usr |
yuripourre@18493 | 44 cp -a $install/usr/share $fs/usr |
yuripourre@18493 | 45 cp -a $install/usr/libexec $fs/usr |
yuripourre@18493 | 46 cp -a $install/usr/lib/*.so* $fs/usr/lib |
yuripourre@18493 | 47 cp -a $install/usr/lib/atril $fs/usr/lib |
yuripourre@18493 | 48 cp -a $install/usr/lib/caja $fs/usr/lib |
yuripourre@18494 | 49 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
al@19270 | 50 # Saving some space |
al@19275 | 51 rm -r $fs/usr/share/man $fs/usr/share/help |
psychomaniak@19526 | 52 rm -r $fs/usr/lib/atril/3/backends/lib*a |
psychomaniak@19526 | 53 rm -r $fs/usr/lib/caja/extensions-2.0/libatril*a |
psychomaniak@19526 | 54 rm -rf $fs/usr/lib/pkgconfig |
yuripourre@18493 | 55 } |