wok-next annotate transfig/receipt @ rev 19534
Up cookutils (842)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 29 17:31:57 2016 +0200 (2016-11-29) |
parents | da018658b8df |
children | f7cf1ead56c0 |
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@15601 | 8 LICENSE="BSD" |
pascal@14246 | 9 TARBALL="$PACKAGE.$VERSION.tar.gz" |
pascal@14246 | 10 WEB_SITE="http://www.xfig.org/" |
pascal@14246 | 11 WGET_URL="http://downloads.sourceforge.net/mcj/$TARBALL" |
pascal@14246 | 12 |
pascal@14246 | 13 DEPENDS="xorg xorg-libXpm libpng zlib" |
pascal@14246 | 14 BUILD_DEPENDS="xorg-imake xorg-libXpm-dev libpng-dev zlib-dev" |
pascal@14246 | 15 |
pascal@14246 | 16 # Rules to configure and make the package. |
pascal@14246 | 17 compile_rules() |
pascal@14246 | 18 { |
pascal@14246 | 19 cd $src |
pascal@14246 | 20 sed -i 's|/usr/local|/usr|' */*akefile |
pascal@14246 | 21 xmkmf && |
pascal@14246 | 22 make Makefiles && |
pascal@14246 | 23 make && |
pascal@14246 | 24 make DESTDIR=$DESTDIR install |
pascal@14246 | 25 } |
pascal@14246 | 26 |
pascal@14246 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14246 | 28 genpkg_rules() |
pascal@14246 | 29 { |
pascal@14246 | 30 cp -a $install/* $fs |
pascal@14246 | 31 } |