wok-next view 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
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openmotif"
4 VERSION="2.3.2"
5 CATEGORY="non-free"
6 SHORT_DESC="Source code version of Motif under a public license"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="other"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.motifzone.org/"
11 WGET_URL="${WEB_SITE}files/public_downloads/$PACKAGE/${VERSION%.*}/$VERSION/$TARBALL"
13 BUILD_DEPENDS="xorg-dev-proto xorg-libXmu xorg-libXft-dev xorg-libXrender-dev \
14 xorg-xbitmaps fontconfig-dev freetype-dev jpeg-dev libpng16-dev xorg-libXt-dev \
15 xorg-libSM-dev xorg-xproto xorg-libXmu-dev xorg-libX11-dev xorg-printproto \
16 xorg-xextproto bison flex xorg-libXp util-linux-uuid-dev expat-dev libxml2-dev"
17 SPLIT="openmotif-demo openmotif-dev openmotif openmotif-man"
19 compile_rules() {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
22 ./configure $CONFIGURE_ARGS &&
23 fix libtool &&
24 make -j1 &&
25 make DESTDIR=$DESTDIR install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 openmotif-demo)
31 copy share/Xm/
32 CAT="non-free|demo files"
33 DEPENDS="openmotif openmotif-dev"
34 ;;
35 openmotif-dev)
36 copy @dev @rm bin/uil
37 DEPENDS="openmotif util-linux-uuid"
38 ;;
39 openmotif)
40 copy @std @rm
41 DEPENDS="xorg fontconfig expat freetype jpeg libpng16 xorg-libXp \
42 xorg-libXft"
43 ;;
44 openmotif-man)
45 copy man/
46 CAT="non-free|manual pages"
47 ;;
48 esac
49 }