wok-current view openmotif/receipt @ rev 14274

njconnect - source file is now fixed on upstream level ;-)
author Pawel P. <xj@wp.pl>
date Fri Apr 05 12:14:08 2013 +0000 (2013-04-05)
parents 73641efed1cc
children edca105a0b6d
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.motifzone.org/"
10 WGET_URL="${WEB_SITE}files/public_downloads/$PACKAGE/${VERSION%.*}/$VERSION/$TARBALL"
11 DEPENDS="xorg fontconfig expat freetype jpeg libpng xorg-libXp xorg-libXft"
12 BUILD_DEPENDS="xorg-dev-proto xorg-libXmu xorg-libXft-dev xorg-libXrender-dev \
13 xorg-xbitmaps fontconfig-dev freetype-dev jpeg-dev libpng-dev xorg-libXt-dev \
14 xorg-libSM-dev xorg-xproto xorg-libXmu-dev xorg-libX11-dev xorg-printproto \
15 xorg-xextproto bison flex xorg-libXp util-linux-uuid-dev expat-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make -j 1 &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 rm -f $fs/usr/bin/uil
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
36 }