wok-next annotate lesstif/receipt @ rev 17736

prelink: force libpthread link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 06 12:45:18 2015 +0100 (2015-03-06)
parents 8bdba6bcdf42
children ff4ffcd5e1db
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"
pankso@16584 12 #HOST_ARCH="arm i486"
pascal@15001 13
pascal@5003 14 DEPENDS="glibc-base xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
pankso@16583 15 xorg-libXdmcp xorg-libXext xorg-libXt util-linux-uuid freetype xorg-libXp"
pankso@16583 16 BUILD_DEPENDS="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 ./configure \
rcx@3263 22 --prefix=/usr \
rcx@3263 23 --infodir=/usr/share/info \
rcx@3263 24 --mandir=/usr/share/man \
rcx@3263 25 --includedir=/usr/include \
rcx@3263 26 $CONFIGURE_ARGS &&
rcx@3263 27 make &&
pascal@15001 28 make -j 1 DESTDIR=$DESTDIR install
rcx@3263 29 }
rcx@3263 30
rcx@3263 31 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3263 32 genpkg_rules()
rcx@3263 33 {
rcx@3263 34 mkdir -p $fs/usr/lib
pascal@15001 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15001 36 cp -a $install/usr/lib/LessTif $fs/usr/lib
pascal@15001 37 cp -a $install/usr/lib/X11 $fs/usr/lib
pascal@15001 38 cp -a $install/usr/bin $fs/usr
rcx@3263 39 }
rcx@3263 40