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 }
|