wok-current annotate openmotif/receipt @ rev 12253
Add tazbug (1.0) - Ready for production and so in core
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 10 12:57:21 2012 +0200 (2012-04-10) |
parents | 73eb26934d14 |
children | 73641efed1cc |
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@4193 | 13 xorg-xbitmaps fontconfig-dev freetype-dev jpeg-dev libpng-dev xorg-libXt-dev \ |
pascal@4193 | 14 xorg-libSM-dev xorg-xproto xorg-libXmu-dev xorg-libX11-dev xorg-printproto \ |
pascal@11376 | 15 xorg-xextproto bison flex xorg-libXp util-linux-ng-uuid-dev" |
pascal@3987 | 16 |
pascal@3987 | 17 # Rules to configure and make the package. |
pascal@3987 | 18 compile_rules() |
pascal@3987 | 19 { |
pascal@3987 | 20 cd $src |
pascal@3987 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@3987 | 22 --mandir=/usr/share/man \ |
pascal@3987 | 23 $CONFIGURE_ARGS && |
pascal@5927 | 24 make -j 1 && |
pascal@3987 | 25 make DESTDIR=$PWD/_pkg install |
pascal@3987 | 26 } |
pascal@3987 | 27 |
pascal@3987 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3987 | 29 genpkg_rules() |
pascal@3987 | 30 { |
pascal@3987 | 31 mkdir -p $fs/usr/lib |
pascal@3987 | 32 cp -a $_pkg/usr/bin $fs/usr |
pascal@3987 | 33 rm -f $fs/usr/bin/uil |
pascal@3987 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@3987 | 35 cp -a $_pkg/usr/lib/X11 $fs/usr/lib |
pascal@3987 | 36 } |