wok-6.x view lesstif/receipt @ rev 25457

Normazile https://sourceforge.net/projects web_sites
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 23 08:28:09 2022 +0000 (2022-09-23)
parents 65d7d867e0c1
children 2d4208bebf51
line source
1 # SliTaz package receipt.
3 PACKAGE="lesstif"
4 VERSION="0.95.2"
5 CATEGORY="x-window"
6 SHORT_DESC="An LGPL clone of Motif, which is a set of GUI widgets."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://sourceforge.net/projects/lesstif"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 #HOST_ARCH="arm i486"
14 DEPENDS="glibc-base xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
15 xorg-libXdmcp xorg-libXext xorg-libXt util-linux-uuid freetype xorg-libXp"
16 BUILD_DEPENDS="xorg-xextproto util-linux-uuid-dev automake"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/lesstif/files/lesstif/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/lesstif/||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 --includedir=/usr/include \
34 $CONFIGURE_ARGS &&
35 make &&
36 make -j 1 DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/lib/LessTif $fs/usr/lib
45 cp -a $install/usr/lib/X11 $fs/usr/lib
46 cp -a $install/usr/bin $fs/usr
47 }