wok-4.x view lesstif/receipt @ rev 5011
use mv instead of cp -a to save RAM (thanks Eric)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sun Feb 28 19:46:30 2010 +0000 (2010-02-28) |
parents | 0588160a6878 |
children | 3e599985638d |
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 BUILD_DEPENDS="slitaz-toolchain xorg-dev xorg-xextproto"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://sourceforge.net/projects/lesstif/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --includedir=/usr/include \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/LessTif $fs/usr/lib
35 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
36 cp -a $_pkg/usr/bin $fs/usr
37 }