wok view magicpoint/receipt @ rev 10698
winetricks: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 28 09:20:24 2011 +0200 (2011-05-28) |
parents | 50f89a1e4792 |
children | 73641efed1cc |
line source
1 # SliTaz package receipt.
3 PACKAGE="magicpoint"
4 VERSION="1.13a"
5 CATEGORY="x-window"
6 SHORT_DESC="An X11-based presentation tool."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base expat zlib util-linux-ng-uuid fontconfig freetype1 freetype \
9 giflib jpeg libpng tiff imlib xorg-libICE xorg-libSM xorg-libX11 \
10 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXft xorg-libXmu \
11 xorg-libXrender xorg-libXt"
12 BUILD_DEPENDS="bison flex m4 gettext fontconfig-dev \
13 freetype1 freetype1-dev freetype-dev giflib-dev imlib-dev xorg-imake \
14 xorg-cf-files xorg-libX11-dev xorg-libXft-dev xorg-libXmu-dev \
15 xorg-libXrender-dev xorg-xproto xorg-xextproto"
16 TARBALL="$PACKAGE-$VERSION.tar.gz"
17 WEB_SITE="http://member.wide.ad.jp/wg/mgp/"
18 WGET_URL="ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/$TARBALL"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 xmkmf &&
30 make -j1 Makefiles &&
31 make -j1 &&
32 make -j1 DESTDIR=$src/_pkg install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib/X11/mgp
39 cp -f $_pkg/usr/lib/X11/mgp/default.mgp $fs/usr/lib/X11/mgp
41 cp -a $_pkg/usr/bin $fs/usr
42 }