wok view libXaw3dXft/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 93c7d5278f70
children 00bff3684d8a
line source
1 # SliTaz package receipt.
3 PACKAGE="libXaw3dXft"
4 VERSION="1.6.2e"
5 CATEGORY="x-window"
6 SHORT_DESC="Xpaint module."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://sourceforge.net/projects/sf-xpaint/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/sf-xpaint/$TARBALL"
14 DEPENDS="xorg-libXmu fontconfig xorg-libXrender xorg-libXft lzlib"
15 BUILD_DEPENDS="xorg-libXmu-dev util-linux-uuid-dev expat-dev libxml2-dev"
16 HOST_ARCH="i486 arm"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/sf-xpaint/files/libxaw3dxft/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/libXaw3dXft-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --enable-arrow-scrollbars \
30 --enable-gray-stipples \
31 --enable-multiplane-bitmaps \
32 $CONFIGURE_ARGS &&
33 make -j 1 &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }