# HG changeset patch # User Matthew Sheets # Date 1243872593 0 # Node ID c42c556ac4feb0be9cd5caad4d328ba3d31817e7 # Parent 081813d3a55385311ec7eafa3cd564d79243c4cc Add: lesstif diff -r 081813d3a553 -r c42c556ac4fe lesstif-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lesstif-dev/receipt Mon Jun 01 16:09:53 2009 +0000 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="lesstif-dev" +VERSION="0.95.2" +CATEGORY="development" +SHORT_DESC="lesstif devel files." +WEB_SITE="http://sourceforge.net/projects/lesstif/" +MAINTAINER="rcx@zoominternet.net" +WANTED="lesstif" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} diff -r 081813d3a553 -r c42c556ac4fe lesstif/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lesstif/receipt Mon Jun 01 16:09:53 2009 +0000 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="lesstif" +VERSION="0.95.2" +CATEGORY="development" +SHORT_DESC="An LGPL clone of Motif, which is a set of GUI widgets." +MAINTAINER="rcx@zoominternet.net" +DEPENDS="glibc-base xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXt libuuid" +BUILD_DEPENDS="slitaz-toolchain xorg-dev xorg-xextproto" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://sourceforge.net/projects/lesstif/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --includedir=/usr/include \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/lib/LessTif $fs/usr/lib + cp -a $_pkg/usr/lib/X11 $fs/usr/lib + cp -a $_pkg/usr/bin $fs/usr +} +