wok-next annotate openmotif/receipt @ rev 19700
unionfs-fuse: do not define function twice
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 26 10:36:51 2017 +0200 (2017-04-26) |
parents | edca105a0b6d |
children | d0fd62e2e1b2 |
rev | line source |
---|---|
pascal@3987 | 1 # SliTaz package receipt. |
pascal@3987 | 2 |
pascal@3987 | 3 PACKAGE="openmotif" |
pascal@3987 | 4 VERSION="2.3.2" |
pascal@3987 | 5 CATEGORY="non-free" |
pascal@3987 | 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@3988 | 13 DEPENDS="xorg fontconfig expat freetype jpeg libpng xorg-libXp xorg-libXft" |
pascal@3987 | 14 BUILD_DEPENDS="xorg-dev-proto xorg-libXmu xorg-libXft-dev xorg-libXrender-dev \ |
pascal@4193 | 15 xorg-xbitmaps fontconfig-dev freetype-dev jpeg-dev libpng-dev xorg-libXt-dev \ |
pascal@4193 | 16 xorg-libSM-dev xorg-xproto xorg-libXmu-dev xorg-libX11-dev xorg-printproto \ |
pascal@15169 | 17 xorg-xextproto bison flex xorg-libXp util-linux-uuid-dev expat-dev libxml2-dev" |
pascal@3987 | 18 |
pascal@3987 | 19 # Rules to configure and make the package. |
pascal@3987 | 20 compile_rules() |
pascal@3987 | 21 { |
pascal@3987 | 22 cd $src |
pascal@3987 | 23 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@3987 | 24 --mandir=/usr/share/man \ |
pascal@3987 | 25 $CONFIGURE_ARGS && |
pascal@5927 | 26 make -j 1 && |
pascal@15169 | 27 make DESTDIR=$DESTDIR install |
pascal@3987 | 28 } |
pascal@3987 | 29 |
pascal@3987 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3987 | 31 genpkg_rules() |
pascal@3987 | 32 { |
pascal@3987 | 33 mkdir -p $fs/usr/lib |
pascal@15169 | 34 cp -a $install/usr/bin $fs/usr |
pascal@3987 | 35 rm -f $fs/usr/bin/uil |
pascal@15169 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15169 | 37 cp -a $install/usr/lib/X11 $fs/usr/lib |
pascal@3987 | 38 } |