wok-next annotate eom/receipt @ rev 20534
Clean default configure options when site script used.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 19:31:50 2018 +0300 (2018-03-30) |
parents | 65c0fe17f3b9 |
children | 342b30daff76 |
rev | line source |
---|---|
al@20096 | 1 # SliTaz package receipt v2. |
yuripourre@17868 | 2 |
yuripourre@17868 | 3 PACKAGE="eom" |
al@20096 | 4 VERSION="1.18.2" |
al@20096 | 5 CATEGORY="graphics" |
al@20096 | 6 SHORT_DESC="An image viewer for MATE" |
yuripourre@17868 | 7 MAINTAINER="yuripourre@gmail.com" |
al@20096 | 8 LICENSE="GPL2" |
al@20096 | 9 WEB_SITE="https://github.com/mate-desktop/eom" |
al@20096 | 10 |
yuripourre@17868 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20096 | 12 WGET_URL="https://github.com/mate-desktop/eom/archive/v$VERSION.tar.gz" |
yuripourre@17868 | 13 |
al@20096 | 14 BUILD_DEPENDS="mate-common yelp-tools gtk-doc itstool \ |
al@20096 | 15 gobject-introspection-dev libexif-dev lcms2-dev exempi-dev libjpeg-turbo-dev \ |
al@20096 | 16 dbus-glib-dev librsvg-dev gtk+3-dev mate-desktop-dev gdk-pixbuf-dev \ |
al@20096 | 17 shared-mime-info-dev libpeas-dev" |
al@20096 | 18 SPLIT="eom-dev" |
yuripourre@17868 | 19 |
al@20096 | 20 compile_rules() { |
al@20096 | 21 ./autogen.sh \ |
yuripourre@17868 | 22 $CONFIGURE_ARGS && |
al@20534 | 23 fix libtool && |
yuripourre@17868 | 24 make && |
al@20096 | 25 make install |
yuripourre@17868 | 26 } |
yuripourre@17868 | 27 |
al@20096 | 28 genpkg_rules() { |
al@20096 | 29 case $PACKAGE in |
al@20096 | 30 eom) |
al@20096 | 31 copy @std |
al@20096 | 32 DEPENDS="atk bzlib cairo dbus dbus-glib dconf exempi expat \ |
al@20096 | 33 fontconfig freetype gdk-pixbuf glib gobject-introspection gtk+3 \ |
al@20096 | 34 lcms2 libcroco libexif libffi libharfbuzz libjpeg-turbo liblzma \ |
al@20096 | 35 libpeas libpeas-gtk libpng16 librsvg libxml2 mate-desktop pango \ |
al@20096 | 36 pcre startup-notification util-linux-blkid util-linux-mount \ |
al@20096 | 37 util-linux-uuid xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \ |
al@20096 | 38 xorg-libXrandr xorg-libXrender xorg-libxcb xorg-pixman \ |
al@20096 | 39 xorg-xcb-util zlib" |
al@20096 | 40 ;; |
al@20096 | 41 *-dev) |
al@20096 | 42 copy @dev |
al@20096 | 43 DEPENDS="eom atk-dev bzip2-dev cairo-dev dbus-dev dbus-glib-dev \ |
al@20096 | 44 dconf-dev exempi-dev expat-dev fontconfig-dev freetype-dev \ |
al@20096 | 45 gdk-pixbuf-dev glib-dev gobject-introspection-dev gtk+3-dev \ |
al@20096 | 46 harfbuzz-dev lcms2-dev libcroco-dev libexif-dev libffi-dev \ |
al@20096 | 47 libpeas-dev libpng16-dev librsvg-dev libxml2-dev mate-desktop-dev \ |
al@20096 | 48 pango-dev pcre-dev startup-notification-dev util-linux-blkid-dev \ |
al@20096 | 49 util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \ |
al@20096 | 50 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ |
al@20096 | 51 xorg-libXrandr-dev xorg-libXrender-dev xorg-libxcb-dev \ |
al@20096 | 52 xorg-pixman-dev xorg-xcb-util-dev xz-dev zlib-dev" |
al@20096 | 53 ;; |
al@20096 | 54 esac |
al@20096 | 55 TAGS="MATE" |
yuripourre@17868 | 56 } |