# HG changeset patch # User Pascal Bellard # Date 1251558343 -7200 # Node ID 06e7bc9e2249912c844371df2fc78529979419e2 # Parent 3d3be71f0d5643e27f51c2ea64a5697db1771afd Add openmotif diff -r 3d3be71f0d56 -r 06e7bc9e2249 openmotif-demo/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openmotif-demo/receipt Sat Aug 29 17:05:43 2009 +0200 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="openmotif-demo" +VERSION="2.3.2" +CATEGORY="non-free" +SHORT_DESC="source code version of Motif under a public license, demo files." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://www.motifzone.org/" +WANTED="openmotif" +DEPENDS="openmotif openmotif-dev" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/share/Xm $fs/usr/share +} + + diff -r 3d3be71f0d56 -r 06e7bc9e2249 openmotif-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openmotif-dev/receipt Sat Aug 29 17:05:43 2009 +0200 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="openmotif-dev" +VERSION="2.3.2" +CATEGORY="non-free" +SHORT_DESC="source code version of Motif under a public license, development files." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://www.motifzone.org/" +WANTED="openmotif" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/bin + cp -a $_pkg/usr/lib/*a $fs/usr/lib + cp -a $_pkg/usr/bin/uil $fs/usr/bin + cp -a $_pkg/usr/include $fs/usr +} + + diff -r 3d3be71f0d56 -r 06e7bc9e2249 openmotif-man/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openmotif-man/receipt Sat Aug 29 17:05:43 2009 +0200 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="openmotif-man" +VERSION="2.3.2" +CATEGORY="non-free" +SHORT_DESC="source code version of Motif under a public license, manual pages." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://www.motifzone.org/" +WANTED="openmotif" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/share/man $fs/usr/share +} + + diff -r 3d3be71f0d56 -r 06e7bc9e2249 openmotif/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openmotif/receipt Sat Aug 29 17:05:43 2009 +0200 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="openmotif" +VERSION="2.3.2" +CATEGORY="non-free" +SHORT_DESC="source code version of Motif under a public license." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.motifzone.org/" +WGET_URL="${WEB_SITE}files/public_downloads/$PACKAGE/${VERSION%.*}/$VERSION/$TARBALL" +DEPENDS="xorg fontconfig expat freetype jpeg libpng" +/usr/lib/libXp.so.6 +/usr/lib/libXft.so.2 +BUILD_DEPENDS="xorg-dev-proto xorg-libXmu xorg-libXft-dev xorg-libXrender-dev \ +xorg-xbitmaps fontconfig-dev freetype-dev jpeg-dev libpng-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $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/bin $fs/usr + rm -f $fs/usr/bin/uil + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/lib/X11 $fs/usr/lib +}