wok-current view aalib/receipt @ rev 24394

created recipe for python-distutils-extra
author Hans-G?nter Theisgen
date Tue Feb 08 10:09:54 2022 +0100 (2022-02-08)
parents 11b5e93cb5f2
children b0069c845544
line source
1 # SliTaz package receipt.
3 PACKAGE="aalib"
4 VERSION="1.4rc5"
5 CATEGORY="multimedia"
6 SHORT_DESC="A portable ASCII art graphic library"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL2"
9 WEB_SITE="http://aa-project.sourceforge.net/aalib/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/aa-project/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="ncurses xorg-libXt xorg-libX11"
15 BUILD_DEPENDS="ncurses-dev xorg-libXt-dev xorg-libX11-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/aa-project/files/aa-lib/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/aa-lib/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 patch -Np0 -i $stuff/aclocal-fixes.patch
30 ./configure $CONFIGURE_ARGS &&
31 make && make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }