wok annotate lesstif/receipt @ rev 9723

zsh: clean up
author Christopher Rogers <slaxemulator@gmail.com>
date Mon May 09 05:26:46 2011 +0000 (2011-05-09)
parents 3e599985638d
children eea1a108a26b
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 \
pascal@5030 9 xorg-libXdmcp xorg-libXext xorg-libXt util-linux-ng-uuid freetype \
pascal@5030 10 xorg-libXp"
rcx@3263 11 BUILD_DEPENDS="slitaz-toolchain xorg-dev xorg-xextproto"
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