wok annotate atril/receipt @ rev 19413
Up firefox-official (49.0.1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 24 15:30:02 2016 +0300 (2016-09-24) |
parents | e481e85001c2 |
children | 0812d027f57c |
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" |
yuripourre@18493 | 7 SHORT_DESC="A document viewer for MATE." |
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 |
yuripourre@18493 | 13 DEPENDS="gtk+ mate-desktop libsecret poppler mate-icon-theme \ |
yuripourre@18495 | 14 desktop-file-utils djvulibre libspectre zlib" |
yuripourre@18506 | 15 BUILD_DEPENDS="wget autoconf automake libtool itstool yelp-tools \ |
yuripourre@18493 | 16 gtk+-dev gtk-doc mate-desktop-dev mate-common-dev mate-icon-theme \ |
yuripourre@18493 | 17 libsecret-dev caja-dev poppler-dev util-linux-uuid-dev lcms-dev \ |
yuripourre@18495 | 18 libgcrypt-dev djvulibre-dev" |
yuripourre@18493 | 19 |
yuripourre@18493 | 20 # Rules to configure and make the package. |
yuripourre@18493 | 21 compile_rules() |
yuripourre@18493 | 22 { |
al@19269 | 23 ./autogen.sh \ |
al@19269 | 24 --prefix=/usr \ |
yuripourre@18493 | 25 $CONFIGURE_ARGS && |
yuripourre@18493 | 26 make && |
yuripourre@18493 | 27 make DESTDIR=$DESTDIR install |
yuripourre@18493 | 28 } |
yuripourre@18493 | 29 |
yuripourre@18493 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
yuripourre@18493 | 31 genpkg_rules() |
yuripourre@18493 | 32 { |
yuripourre@18493 | 33 mkdir -p $fs/usr/lib |
yuripourre@18493 | 34 |
yuripourre@18493 | 35 cp -a $install/usr/bin $fs/usr |
yuripourre@18493 | 36 cp -a $install/usr/share $fs/usr |
yuripourre@18493 | 37 cp -a $install/usr/libexec $fs/usr |
yuripourre@18493 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
yuripourre@18493 | 39 cp -a $install/usr/lib/atril $fs/usr/lib |
yuripourre@18493 | 40 cp -a $install/usr/lib/caja $fs/usr/lib |
yuripourre@18494 | 41 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
al@19270 | 42 # Saving some space |
al@19275 | 43 rm -r $fs/usr/share/man $fs/usr/share/help |
yuripourre@18493 | 44 } |