wok annotate transfig/receipt @ rev 25307
updated siproxd (0.8.2 -> 0.8.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 10:52:20 2022 +0100 (2022-07-20) |
parents | 271622a4c4d7 |
children |
rev | line source |
---|---|
pascal@14246 | 1 # SliTaz package receipt. |
pascal@14246 | 2 |
pascal@14246 | 3 PACKAGE="transfig" |
Hans-G?nter@24124 | 4 VERSION="3.2.8b" |
pascal@14246 | 5 CATEGORY="x-window" |
pascal@14246 | 6 SHORT_DESC="Utilities for converting XFig figure files." |
pascal@14246 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 8 LICENSE="BSD" |
pascal@21799 | 9 WEB_SITE="https://www.xfig.org/" |
Hans-G?nter@24124 | 10 SOURCE="fig2dev" |
Hans-G?nter@24124 | 11 TARBALL="$SOURCE-$VERSION.tar.xz" |
Hans-G?nter@24124 | 12 WGET_URL="$SF_MIRROR/mcj/$TARBALL" |
pascal@14246 | 13 |
Hans-G?nter@24124 | 14 DEPENDS="libjpeg libpng xorg xorg-libXaw3d xorg-libXpm zlib" |
Hans-G?nter@24124 | 15 BUILD_DEPENDS="jpeg-dev libpng-dev xorg-libXaw3d-dev xorg-libXpm-dev zlib-dev" |
pascal@14246 | 16 |
pascal@24125 | 17 # What is the latest version available today? |
pascal@24125 | 18 current_version() |
pascal@24125 | 19 { |
pascal@24125 | 20 wget -O - https://sourceforge.net/projects/mcj/files/ 2>/dev/null | \ |
pascal@24125 | 21 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24125 | 22 } |
pascal@24125 | 23 |
pascal@14246 | 24 # Rules to configure and make the package. |
pascal@14246 | 25 compile_rules() |
pascal@14246 | 26 { |
Hans-G?nter@24124 | 27 ./configure \ |
Hans-G?nter@24124 | 28 --prefix=/usr \ |
Hans-G?nter@24124 | 29 --enable-transfig && |
pascal@14246 | 30 make && |
pascal@14246 | 31 make DESTDIR=$DESTDIR install |
pascal@14246 | 32 } |
pascal@14246 | 33 |
pascal@14246 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14246 | 35 genpkg_rules() |
pascal@14246 | 36 { |
Hans-G?nter@24124 | 37 mkdir -p $fs/usr/share |
Hans-G?nter@24124 | 38 |
Hans-G?nter@24124 | 39 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@24124 | 40 cp -a $install/usr/share/fig2dev $fs/usr/share |
pascal@14246 | 41 } |