wok-next annotate openmotif/receipt @ rev 21427
updated qt4 (4.8.6 -> 4.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 05 08:11:24 2020 +0100 (2020-05-05) |
parents | 5669e8b3be70 |
children |
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" |
al@21123 | 9 WEB_SITE="https://motif.ics.com/" |
al@21041 | 10 |
pascal@3987 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3987 | 12 WGET_URL="${WEB_SITE}files/public_downloads/$PACKAGE/${VERSION%.*}/$VERSION/$TARBALL" |
pascal@15600 | 13 |
al@21078 | 14 BUILD_DEPENDS="xorg-dev-proto libxft-dev libxrender-dev \ |
al@21078 | 15 xbitmaps fontconfig-dev freetype-dev jpeg-dev libpng-dev libxt-dev \ |
al@21078 | 16 libsm-dev libxmu-dev libx11-dev xorgproto \ |
al@21078 | 17 bison flex libxp util-linux-uuid-dev expat-dev libxml2-dev" |
al@21020 | 18 SPLIT="$PACKAGE-demo $PACKAGE-dev $PACKAGE" |
pascal@3987 | 19 |
al@20557 | 20 compile_rules() { |
al@20560 | 21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" |
al@20560 | 22 |
al@20557 | 23 ./configure $CONFIGURE_ARGS && |
al@20601 | 24 fix libtool && |
al@20601 | 25 make -j1 && |
al@21020 | 26 make DESTDIR=$install install |
pascal@3987 | 27 } |
pascal@3987 | 28 |
al@20557 | 29 genpkg_rules() { |
pascal@20157 | 30 case $PACKAGE in |
al@20557 | 31 openmotif-demo) |
al@20557 | 32 copy share/Xm/ |
al@20557 | 33 CAT="non-free|demo files" |
al@20557 | 34 DEPENDS="openmotif openmotif-dev" |
al@20557 | 35 ;; |
al@20557 | 36 openmotif-dev) |
al@20557 | 37 copy @dev @rm bin/uil |
al@20557 | 38 DEPENDS="openmotif util-linux-uuid" |
al@20557 | 39 ;; |
al@20557 | 40 openmotif) |
al@20557 | 41 copy @std @rm |
al@21078 | 42 DEPENDS="xorg fontconfig expat freetype jpeg libpng libxp \ |
al@21078 | 43 libxft" |
al@20558 | 44 ;; |
pascal@20157 | 45 esac |
pascal@3987 | 46 } |