wok-next annotate openmotif/receipt @ rev 20337
orpheus: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 16 21:37:29 2017 +0100 (2017-11-16) |
parents | de49f29b101e |
children | dd145c435e4b |
rev | line source |
---|---|
pascal@20157 | 1 # SliTaz package receipt v2. |
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@15600 | 8 LICENSE="other" |
pascal@3987 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3987 | 10 WEB_SITE="http://www.motifzone.org/" |
pascal@3987 | 11 WGET_URL="${WEB_SITE}files/public_downloads/$PACKAGE/${VERSION%.*}/$VERSION/$TARBALL" |
pascal@15600 | 12 |
pascal@3987 | 13 BUILD_DEPENDS="xorg-dev-proto xorg-libXmu xorg-libXft-dev xorg-libXrender-dev \ |
pascal@4193 | 14 xorg-xbitmaps fontconfig-dev freetype-dev jpeg-dev libpng-dev xorg-libXt-dev \ |
pascal@4193 | 15 xorg-libSM-dev xorg-xproto xorg-libXmu-dev xorg-libX11-dev xorg-printproto \ |
pascal@15169 | 16 xorg-xextproto bison flex xorg-libXp util-linux-uuid-dev expat-dev libxml2-dev" |
pascal@20157 | 17 SPLIT="openmotif openmotif-demo openmotif-dev openmotif-man" |
pascal@3987 | 18 |
pascal@3987 | 19 # Rules to configure and make the package. |
pascal@3987 | 20 compile_rules() |
pascal@3987 | 21 { |
pascal@3987 | 22 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@3987 | 23 --mandir=/usr/share/man \ |
pascal@3987 | 24 $CONFIGURE_ARGS && |
pascal@5927 | 25 make -j 1 && |
pascal@15169 | 26 make DESTDIR=$DESTDIR install |
pascal@3987 | 27 } |
pascal@3987 | 28 |
pascal@3987 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3987 | 30 genpkg_rules() |
pascal@3987 | 31 { |
pascal@20157 | 32 case $PACKAGE in |
pascal@20157 | 33 openmotif) |
pascal@20157 | 34 DEPENDS="xorg fontconfig expat freetype jpeg libpng xorg-libXp xorg-libXft" |
pascal@20157 | 35 mkdir -p $fs/usr/lib |
pascal@20157 | 36 cp -a $install/usr/bin $fs/usr |
pascal@20157 | 37 rm -f $fs/usr/bin/uil |
pascal@20157 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@20157 | 39 cp -a $install/usr/lib/X11 $fs/usr/lib |
pascal@20157 | 40 ;; |
pascal@20157 | 41 openmotif-demo) |
pascal@20157 | 42 CAT="non-free|source code version of Motif under a public license, demo files." |
pascal@20157 | 43 DEPENDS="openmotif openmotif-dev" |
pascal@20157 | 44 mkdir -p $fs/usr/share |
pascal@20157 | 45 cp -a $install/usr/share/Xm $fs/usr/share |
pascal@20157 | 46 ;; |
pascal@20157 | 47 openmotif-dev) |
pascal@20157 | 48 CAT="non-free|source code version of Motif under a public license, development files." |
pascal@20157 | 49 DEPENDS="openmotif util-linux-uuid" |
pascal@20157 | 50 mkdir -p $fs/usr/lib $fs/usr/bin |
pascal@20157 | 51 cp -a $install/usr/lib/*a $fs/usr/lib |
pascal@20157 | 52 cp -a $install/usr/bin/uil $fs/usr/bin |
pascal@20157 | 53 cp -a $install/usr/include $fs/usr |
pascal@20157 | 54 ;; |
pascal@20157 | 55 openmotif-man) |
pascal@20157 | 56 CAT="non-free|source code version of Motif under a public license, manual pages." |
pascal@20157 | 57 mkdir -p $fs/usr/share |
pascal@20157 | 58 cp -a $install/usr/share/man $fs/usr/share |
pascal@20157 | 59 ;; |
pascal@20157 | 60 esac |
pascal@3987 | 61 } |