wok-4.x view lesstif/receipt @ rev 5717
gtkdatabox: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 24 12:15:42 2010 +0200 (2010-06-24) |
parents | 8752c40cc534 |
children | 104979b42d9c |
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 \
9 xorg-libXdmcp xorg-libXext xorg-libXt util-linux-ng-uuid freetype \
10 xorg-libXp"
11 BUILD_DEPENDS="slitaz-toolchain xorg-dev xorg-xextproto"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://sourceforge.net/projects/lesstif/"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --includedir=/usr/include \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg 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 $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/LessTif $fs/usr/lib
36 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
37 cp -a $_pkg/usr/bin $fs/usr
38 }