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