wok-current view aalib/receipt @ rev 25625
Patch gst-ffmpeg to work with new gcc (again)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Sep 04 19:07:14 2023 +0000 (14 months ago) |
parents | b0069c845544 |
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|.*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 }