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