wok annotate lesstif/receipt @ rev 13028

asterisk: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 11 21:38:18 2012 +0200 (2012-06-11)
parents 534f548c91c8
children 408c87fa22ca
rev   line source
rcx@3263 1 # SliTaz package receipt.
rcx@3263 2
rcx@3263 3 PACKAGE="lesstif"
rcx@3263 4 VERSION="0.95.2"
pankso@3608 5 CATEGORY="x-window"
rcx@3263 6 SHORT_DESC="An LGPL clone of Motif, which is a set of GUI widgets."
rcx@3263 7 MAINTAINER="rcx@zoominternet.net"
pascal@5003 8 DEPENDS="glibc-base xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
pankso@12481 9 xorg-libXdmcp xorg-libXext xorg-libXt util-linux-uuid freetype \
pascal@5030 10 xorg-libXp"
pankso@12481 11 BUILD_DEPENDS="xorg-dev xorg-xextproto util-linux-uuid-dev"
rcx@3263 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
rcx@3263 13 WEB_SITE="http://sourceforge.net/projects/lesstif/"
rcx@3263 14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
rcx@3263 15
rcx@3263 16 # Rules to configure and make the package.
rcx@3263 17 compile_rules()
rcx@3263 18 {
rcx@3263 19 cd $src
rcx@3263 20 ./configure \
rcx@3263 21 --prefix=/usr \
rcx@3263 22 --infodir=/usr/share/info \
rcx@3263 23 --mandir=/usr/share/man \
rcx@3263 24 --includedir=/usr/include \
rcx@3263 25 $CONFIGURE_ARGS &&
rcx@3263 26 make &&
gokhlayeh@7971 27 make -j 1 DESTDIR=$PWD/_pkg install
rcx@3263 28 }
rcx@3263 29
rcx@3263 30 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3263 31 genpkg_rules()
rcx@3263 32 {
rcx@3263 33 mkdir -p $fs/usr/lib
rcx@3263 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
rcx@3263 35 cp -a $_pkg/usr/lib/LessTif $fs/usr/lib
rcx@3263 36 cp -a $_pkg/usr/lib/X11 $fs/usr/lib
rcx@3263 37 cp -a $_pkg/usr/bin $fs/usr
rcx@3263 38 }
rcx@3263 39