wok view aalib/receipt @ rev 25680
updated gnu-efi (3.0.14 -> 3.0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 18:46:02 2024 +0100 (8 months ago) |
parents | 19fff4ad1644 |
children |
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="https://sourceforge.net/projects/aa-project/"
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|.*a href="|"https://sourceforge.net|;s| .*||;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 }