wok annotate openmotif/receipt @ rev 4192

Add: fcron
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Sep 23 14:06:30 2009 +0000 (2009-09-23)
parents 06e7bc9e2249
children 377c0ffa78b5
rev   line source
pascal@3987 1 # SliTaz package receipt.
pascal@3987 2
pascal@3987 3 PACKAGE="openmotif"
pascal@3987 4 VERSION="2.3.2"
pascal@3987 5 CATEGORY="non-free"
pascal@3987 6 SHORT_DESC="source code version of Motif under a public license."
pascal@3987 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@3987 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@3987 9 WEB_SITE="http://www.motifzone.org/"
pascal@3987 10 WGET_URL="${WEB_SITE}files/public_downloads/$PACKAGE/${VERSION%.*}/$VERSION/$TARBALL"
pascal@3988 11 DEPENDS="xorg fontconfig expat freetype jpeg libpng xorg-libXp xorg-libXft"
pascal@3987 12 BUILD_DEPENDS="xorg-dev-proto xorg-libXmu xorg-libXft-dev xorg-libXrender-dev \
pascal@3987 13 xorg-xbitmaps fontconfig-dev freetype-dev jpeg-dev libpng-dev"
pascal@3987 14
pascal@3987 15 # Rules to configure and make the package.
pascal@3987 16 compile_rules()
pascal@3987 17 {
pascal@3987 18 cd $src
pascal@3987 19 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@3987 20 --mandir=/usr/share/man \
pascal@3987 21 $CONFIGURE_ARGS &&
pascal@3987 22 make &&
pascal@3987 23 make DESTDIR=$PWD/_pkg install
pascal@3987 24 }
pascal@3987 25
pascal@3987 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3987 27 genpkg_rules()
pascal@3987 28 {
pascal@3987 29 mkdir -p $fs/usr/lib
pascal@3987 30 cp -a $_pkg/usr/bin $fs/usr
pascal@3987 31 rm -f $fs/usr/bin/uil
pascal@3987 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@3987 33 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
pascal@3987 34 }