wok-current annotate lesstif/receipt @ rev 15616

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