wok-next annotate openmotif/receipt @ rev 20791

Up gnome-games, and add/update all the required dependencies
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 10 01:56:40 2018 +0300 (2018-06-10)
parents 7ea408c580be
children f99935f1778a
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"
al@20557 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 \
al@20454 14 xorg-xbitmaps fontconfig-dev freetype-dev jpeg-dev libpng16-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"
al@20557 17 SPLIT="openmotif-demo openmotif-dev openmotif openmotif-man"
pascal@3987 18
al@20557 19 compile_rules() {
al@20560 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
al@20560 21
al@20557 22 ./configure $CONFIGURE_ARGS &&
al@20601 23 fix libtool &&
al@20601 24 make -j1 &&
pascal@15169 25 make DESTDIR=$DESTDIR install
pascal@3987 26 }
pascal@3987 27
al@20557 28 genpkg_rules() {
pascal@20157 29 case $PACKAGE in
al@20557 30 openmotif-demo)
al@20557 31 copy share/Xm/
al@20557 32 CAT="non-free|demo files"
al@20557 33 DEPENDS="openmotif openmotif-dev"
al@20557 34 ;;
al@20557 35 openmotif-dev)
al@20557 36 copy @dev @rm bin/uil
al@20557 37 DEPENDS="openmotif util-linux-uuid"
al@20557 38 ;;
al@20557 39 openmotif)
al@20557 40 copy @std @rm
al@20557 41 DEPENDS="xorg fontconfig expat freetype jpeg libpng16 xorg-libXp \
al@20557 42 xorg-libXft"
al@20558 43 ;;
al@20557 44 openmotif-man)
al@20557 45 copy man/
al@20557 46 CAT="non-free|manual pages"
al@20557 47 ;;
pascal@20157 48 esac
pascal@3987 49 }