wok-current annotate magicpoint/receipt @ rev 9113
slitaz-doc: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 05 11:34:20 2011 +0100 (2011-03-05) |
parents | 0d1cbed2d0dc |
children | 50f89a1e4792 |
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" |
pankso@4052 | 8 DEPENDS="glibc-base expat zlib util-linux-ng-uuid 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 } |