wok-current annotate transfig/receipt @ rev 21921
Add pcem (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 05 17:33:56 2019 +0200 (2019-10-05) |
parents | 416babe74368 |
children | 271622a4c4d7 |
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@21799 | 10 WEB_SITE="https://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 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 } |