wok-current view magicpoint/receipt @ rev 13571
lxde: Add local root variable to post_install and post_remove scripts so tazpkg --root will work with it.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 04 09:14:01 2012 +0000 (2012-11-04) |
parents | 6d1b03cefd6e |
children | 3765f181a6d5 |
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-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 }