wok-next view openmotif/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | d457c4e37c1b |
children | 262dccc5e3ed |
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="http://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 }