wok view libXaw3dXft/receipt @ rev 25539

Up perl-test-compile (3.1.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 09 12:11:13 2023 +0000 (20 months ago)
parents 00bff3684d8a
children
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://sf-xpaint.sourceforge.net/"
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 }