wok-next view openmotif/receipt @ rev 21715

Up cookutils (1146)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 28 07:53:22 2020 +0000 (2020-07-28)
parents 5669e8b3be70
children
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 WEB_SITE="https://motif.ics.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}files/public_downloads/$PACKAGE/${VERSION%.*}/$VERSION/$TARBALL"
14 BUILD_DEPENDS="xorg-dev-proto libxft-dev libxrender-dev \
15 xbitmaps fontconfig-dev freetype-dev jpeg-dev libpng-dev libxt-dev \
16 libsm-dev libxmu-dev libx11-dev xorgproto \
17 bison flex libxp util-linux-uuid-dev expat-dev libxml2-dev"
18 SPLIT="$PACKAGE-demo $PACKAGE-dev $PACKAGE"
20 compile_rules() {
21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
23 ./configure $CONFIGURE_ARGS &&
24 fix libtool &&
25 make -j1 &&
26 make DESTDIR=$install install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 openmotif-demo)
32 copy share/Xm/
33 CAT="non-free|demo files"
34 DEPENDS="openmotif openmotif-dev"
35 ;;
36 openmotif-dev)
37 copy @dev @rm bin/uil
38 DEPENDS="openmotif util-linux-uuid"
39 ;;
40 openmotif)
41 copy @std @rm
42 DEPENDS="xorg fontconfig expat freetype jpeg libpng libxp \
43 libxft"
44 ;;
45 esac
46 }