wok view lesstif/receipt @ rev 15146

cocoalib: create Makefile_dependencies (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 12:56:59 2013 +0000 (2013-08-15)
parents 73641efed1cc
children fd22b033a84a
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://sourceforge.net/projects/lesstif/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="glibc-base xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
14 xorg-libXdmcp xorg-libXext xorg-libXt util-linux-uuid freetype \
15 xorg-libXp"
16 BUILD_DEPENDS="xorg-dev xorg-xextproto util-linux-uuid-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --includedir=/usr/include \
27 $CONFIGURE_ARGS &&
28 make &&
29 make -j 1 DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/LessTif $fs/usr/lib
38 cp -a $install/usr/lib/X11 $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 }