# HG changeset patch # User Hans-G?nter Theisgen # Date 1648720843 -3600 # Node ID d99c0862fdc32f286c373bb52b18632879e1fd1d # Parent 278e569f78204639b72adb22ad32799db07adb71 magicpoint: ar syntax adaptation) diff -r 278e569f7820 -r d99c0862fdc3 magicpoint/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/magicpoint/description.txt Thu Mar 31 11:00:43 2022 +0100 @@ -0,0 +1,6 @@ +Magic Point is an X11 based presentation tool. +It is designed to make simple presentations easy while to make complicated +presentations possible. +Its presentation file (whose suffix is typically .mgp) is just text so that +you can create presentation files quickly with your favorite editor +(e.g. Emacs, vi). diff -r 278e569f7820 -r d99c0862fdc3 magicpoint/receipt --- a/magicpoint/receipt Thu Mar 31 10:07:36 2022 +0100 +++ b/magicpoint/receipt Thu Mar 31 11:00:43 2022 +0100 @@ -6,18 +6,19 @@ SHORT_DESC="An X11-based presentation tool." MAINTAINER="rcx@zoominternet.net" LICENSE="BSD" +WEB_SITE="http://member.wide.ad.jp/wg/mgp/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://member.wide.ad.jp/wg/mgp/" WGET_URL="ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/$TARBALL" -DEPENDS="glibc-base expat zlib util-linux-uuid fontconfig freetype1 freetype \ -giflib jpeg libpng tiff imlib xorg-libICE xorg-libSM xorg-libX11 \ -xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXft xorg-libXmu \ -xorg-libXrender xorg-libXt" -BUILD_DEPENDS="bison flex m4 gettext fontconfig-dev \ -freetype1 freetype1-dev freetype-dev giflib-dev imlib-dev xorg-imake \ -xorg-cf-files xorg-libX11-dev xorg-libXft-dev xorg-libXmu-dev \ -xorg-libXrender-dev xorg-xproto xorg-xextproto" +DEPENDS="expat fontconfig freetype freetype1 giflib glibc-base imlib + jpeg libpng tiff util-linux-uuid xorg-libICE xorg-libSM + xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXft + xorg-libXmu xorg-libXrender xorg-libXt zlib" +BUILD_DEPENDS="bison flex fontconfig-dev freetype-dev freetype1 + freetype1-dev gettext giflib-dev imlib-dev m4 xorg-cf-files + xorg-imake xorg-libX11-dev xorg-libXft-dev xorg-libXmu-dev + xorg-libXrender-dev xorg-xextproto xorg-xproto" # What is the latest version available today? current_version() @@ -29,31 +30,43 @@ # Rules to configure and make the package. compile_rules() { - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ $CONFIGURE_ARGS && xmkmf && - make -j1 Makefiles && - make -j1 && - make -j1 DESTDIR=$DESTDIR install + make Makefiles && + # because of altered syntax for ar in binutils-2.37: + sed -i 's|ar clq|ar cq|' \ + Makefile \ + image/Makefile \ + sample/Makefile \ + contrib/Makefile \ + contrib/xwintoppm/Makefile && + make -j 1 && + make install DESTDIR=$DESTDIR + # Do not remove -j 1 ! } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib/X11/mgp $fs/usr/share/applications - mkdir -p $install/usr/share/doc $install/usr/share/man - cp -f $install/usr/lib/X11/mgp/default.mgp $fs/usr/lib/X11/mgp - cp -a $install/usr/bin $fs/usr - cp $src/*.man $install/usr/share/man/ - cp $src/COPYRIGHT $src/FAQ $src/RE* $src/SYNTAX $install/usr/share/doc - cp $src/USAGE $install/usr/share/doc + mkdir -p $fs/usr/lib/X11/mgp + mkdir -p $fs/usr/share/applications + mkdir -p $install/usr/share/doc + mkdir -p $install/usr/share/man + + cp -f $install/usr/lib/X11/mgp/default.mgp $fs/usr/lib/X11/mgp + cp -a $install/usr/bin $fs/usr + cp $src/*.man $install/usr/share/man/ + cp $src/COPYRIGHT $src/FAQ $src/RE* $src/SYNTAX $install/usr/share/doc + cp $src/USAGE $install/usr/share/doc cat > $fs/usr/share/applications/magicpoint.desktop <> $1/usr/share/applications/defaults.list - done + done } post_remove() { sed -i '/=magicpoint.desktop/' $1/usr/share/applications/defaults.list -} \ No newline at end of file +}