wok-current annotate transfig/receipt @ rev 14246
Add transfig
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 24 22:22:59 2013 +0100 (2013-03-24) |
parents | |
children | 23c3aed67cd9 |
rev | line source |
---|---|
pascal@14246 | 1 # SliTaz package receipt. |
pascal@14246 | 2 |
pascal@14246 | 3 PACKAGE="transfig" |
pascal@14246 | 4 VERSION="3.2.5d" |
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@14246 | 8 TARBALL="$PACKAGE.$VERSION.tar.gz" |
pascal@14246 | 9 WEB_SITE="http://www.xfig.org/" |
pascal@14246 | 10 WGET_URL="http://downloads.sourceforge.net/mcj/$TARBALL" |
pascal@14246 | 11 |
pascal@14246 | 12 DEPENDS="xorg xorg-libXpm libpng zlib" |
pascal@14246 | 13 BUILD_DEPENDS="xorg-imake xorg-libXpm-dev libpng-dev zlib-dev" |
pascal@14246 | 14 |
pascal@14246 | 15 # Rules to configure and make the package. |
pascal@14246 | 16 compile_rules() |
pascal@14246 | 17 { |
pascal@14246 | 18 cd $src |
pascal@14246 | 19 sed -i 's|/usr/local|/usr|' */*akefile |
pascal@14246 | 20 xmkmf && |
pascal@14246 | 21 make Makefiles && |
pascal@14246 | 22 make && |
pascal@14246 | 23 make DESTDIR=$DESTDIR install |
pascal@14246 | 24 } |
pascal@14246 | 25 |
pascal@14246 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14246 | 27 genpkg_rules() |
pascal@14246 | 28 { |
pascal@14246 | 29 cp -a $install/* $fs |
pascal@14246 | 30 } |