wok-6.x view lesstif/receipt @ rev 12262

Up: gmp (5.0.4) First new pkg used by new toolchain
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 11 17:36:00 2012 +0200 (2012-04-11)
parents 104979b42d9c
children 534f548c91c8
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 util-linux-ng-uuid-dev"
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 -j 1 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 }