wok-current view lesstif/receipt @ rev 4569

Add quarry
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 08 19:02:39 2009 +0100 (2009-12-08)
parents d5991fc2b1b3
children 8752c40cc534
line source
1 # SliTaz package receipt.
3 PACKAGE="lesstif"
4 VERSION="0.95.2"
5 CATEGORY="x-window"
6 SHORT_DESC="An LGPL clone of Motif, which is a set of GUI widgets."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXt util-linux-ng-uuid"
9 BUILD_DEPENDS="slitaz-toolchain xorg-dev xorg-xextproto"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://sourceforge.net/projects/lesstif/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --includedir=/usr/include \
23 $CONFIGURE_ARGS &&
24 make &&
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/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/LessTif $fs/usr/lib
34 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
35 cp -a $_pkg/usr/bin $fs/usr
36 }