wok-next annotate libwmf/receipt @ rev 20588
e4rat: fix packing
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 15:12:31 2018 +0300 (2018-04-14) |
parents | 6eff489aa802 |
children | 5841522533ec |
rev | line source |
---|---|
al@19893 | 1 # SliTaz package receipt v2. |
monghitri@13950 | 2 |
monghitri@13950 | 3 PACKAGE="libwmf" |
monghitri@13950 | 4 VERSION="0.2.8.4" |
monghitri@13950 | 5 CATEGORY="misc" |
al@19893 | 6 SHORT_DESC="Converting WMF files" |
monghitri@13950 | 7 MAINTAINER="monghitri@aruba.it" |
pascal@14718 | 8 LICENSE="GPL2" |
al@19893 | 9 WEB_SITE="http://wvware.sourceforge.net/libwmf.html" |
al@19893 | 10 |
monghitri@13950 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19893 | 12 WGET_URL="$SF_MIRROR/wvware/$TARBALL" |
pascal@14718 | 13 |
al@19893 | 14 BUILD_DEPENDS="gfortran xorg-libXt-dev expat-dev libxml2-dev freetype-dev \ |
al@19893 | 15 libjpeg-turbo-dev libgd-dev gdk-pixbuf-dev gtk+-dev" |
al@19893 | 16 SPLIT="libwmf-dev" |
monghitri@13950 | 17 |
monghitri@13950 | 18 # Rules to configure and make the package. |
monghitri@13950 | 19 compile_rules() |
monghitri@13950 | 20 { |
al@19893 | 21 ./configure $CONFIGURE_ARGS && make && make install |
monghitri@13950 | 22 } |
monghitri@13950 | 23 |
monghitri@13950 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
monghitri@13950 | 25 genpkg_rules() |
monghitri@13950 | 26 { |
al@19893 | 27 case $PACKAGE in |
al@19893 | 28 libwmf) |
al@19893 | 29 copy @std |
al@19893 | 30 DEPENDS="bzlib expat freetype gdk-pixbuf glib libharfbuzz \ |
al@19893 | 31 libjpeg-turbo libpng16 pcre xorg-libX11 xorg-libXau xorg-libXdmcp \ |
al@19893 | 32 xorg-libxcb zlib" |
al@19893 | 33 ;; |
al@19893 | 34 *-dev) |
al@19893 | 35 copy @dev |
al@19893 | 36 DEPENDS="libwmf bzip2-dev expat-dev freetype-dev gdk-pixbuf-dev \ |
al@19893 | 37 glib-dev harfbuzz-dev libjpeg-turbo-dev libffi-dev libpng16-dev \ |
al@19893 | 38 pcre-dev util-linux-blkid-dev util-linux-mount-dev \ |
al@19893 | 39 util-linux-uuid-dev xorg-libX11-dev xorg-libXau-dev \ |
al@19893 | 40 xorg-libXdmcp-dev xorg-libxcb-dev zlib-dev" |
al@19893 | 41 ;; |
al@19893 | 42 esac |
monghitri@13950 | 43 } |