wok-current annotate magicpoint/receipt @ rev 3465
Add: magicpoint, an X11-based presentation tool
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Tue Jun 16 09:01:13 2009 +0000 (2009-06-16) |
parents | |
children | 0588160a6878 |
rev | line source |
---|---|
rcx@3465 | 1 # SliTaz package receipt. |
rcx@3465 | 2 |
rcx@3465 | 3 PACKAGE="magicpoint" |
rcx@3465 | 4 VERSION="1.13a" |
rcx@3465 | 5 CATEGORY="x-window" |
rcx@3465 | 6 SHORT_DESC="An X11-based presentation tool." |
rcx@3465 | 7 MAINTAINER="rcx@zoominternet.net" |
rcx@3465 | 8 DEPENDS="glibc-base expat zlib libuuid fontconfig freetype1 freetype \ |
rcx@3465 | 9 giflib jpeg libpng tiff imlib xorg-libICE xorg-libSM xorg-libX11 \ |
rcx@3465 | 10 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXft xorg-libXmu \ |
rcx@3465 | 11 xorg-libXrender xorg-libXt" |
rcx@3465 | 12 BUILD_DEPENDS="slitaz-toolchain bison flex m4 gettext fontconfig-dev \ |
rcx@3465 | 13 freetype1 freetype1-dev freetype-dev giflib-dev imlib-dev xorg-imake \ |
rcx@3465 | 14 xorg-cf-files xorg-libX11-dev xorg-libXft-dev xorg-libXmu-dev \ |
rcx@3465 | 15 xorg-libXrender-dev xorg-xproto xorg-xextproto" |
rcx@3465 | 16 TARBALL="$PACKAGE-$VERSION.tar.gz" |
rcx@3465 | 17 WEB_SITE="http://member.wide.ad.jp/wg/mgp/" |
rcx@3465 | 18 WGET_URL="ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/$TARBALL" |
rcx@3465 | 19 |
rcx@3465 | 20 # Rules to configure and make the package. |
rcx@3465 | 21 compile_rules() |
rcx@3465 | 22 { |
rcx@3465 | 23 cd $src |
rcx@3465 | 24 ./configure \ |
rcx@3465 | 25 --prefix=/usr \ |
rcx@3465 | 26 --infodir=/usr/share/info \ |
rcx@3465 | 27 --mandir=/usr/share/man \ |
rcx@3465 | 28 $CONFIGURE_ARGS && |
rcx@3465 | 29 xmkmf && |
rcx@3465 | 30 make Makefiles && |
rcx@3465 | 31 make && |
rcx@3465 | 32 make DESTDIR=$src/_pkg install |
rcx@3465 | 33 } |
rcx@3465 | 34 |
rcx@3465 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3465 | 36 genpkg_rules() |
rcx@3465 | 37 { |
rcx@3465 | 38 mkdir -p $fs/usr/lib/X11/mgp |
rcx@3465 | 39 cp -f $_pkg/usr/lib/X11/mgp/default.mgp $fs/usr/lib/X11/mgp |
rcx@3465 | 40 |
rcx@3465 | 41 cp -a $_pkg/usr/bin $fs/usr |
rcx@3465 | 42 } |