wok view xorg-libXaw/receipt @ rev 24715

updated lfs-book (8.4 -> 11.1)
author Hans-G?nter Theisgen
date Tue Mar 15 06:57:03 2022 +0100 (2022-03-15)
parents ae5abbe98fa9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXaw"
4 VERSION="1.0.13"
5 CATEGORY="x-window"
6 SHORT_DESC="X Athena Widgets Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="libXaw"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 DEPENDS="xorg-libXmu xorg-libXpm"
16 BUILD_DEPENDS="util-linux-uuid-dev xorg-libXmu-dev xorg-libXpm-dev"
18 HOST_ARCH="i486 arm"
20 current_version()
21 {
22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 --disable-static \
33 --disable-xaw6 \
34 $CONFIGURE_ARGS &&
35 make &&
36 make 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 }