wok view openmotif/receipt @ rev 19875
linld: fix chdirname
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 31 12:51:11 2017 +0200 (2017-03-31) |
parents | edca105a0b6d |
children | a78610b2eb47 |
line source
1 # SliTaz package receipt.
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 DEPENDS="xorg fontconfig expat freetype jpeg libpng xorg-libXp xorg-libXft"
14 BUILD_DEPENDS="xorg-dev-proto xorg-libXmu xorg-libXft-dev xorg-libXrender-dev \
15 xorg-xbitmaps fontconfig-dev freetype-dev jpeg-dev libpng-dev xorg-libXt-dev \
16 xorg-libSM-dev xorg-xproto xorg-libXmu-dev xorg-libX11-dev xorg-printproto \
17 xorg-xextproto bison flex xorg-libXp util-linux-uuid-dev expat-dev libxml2-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure --prefix=/usr --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make -j 1 &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 rm -f $fs/usr/bin/uil
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/X11 $fs/usr/lib
38 }