wok-next view lesstif/receipt @ rev 3315
transmission: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 08 00:03:03 2009 +0200 (2009-06-08) |
parents | c42c556ac4fe |
children | d5991fc2b1b3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lesstif"
4 VERSION="0.95.2"
5 CATEGORY="x-windows"
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 libuuid"
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 }