wok-current annotate aalib/receipt @ rev 24992
Up sip (4.19.25)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 14 18:19:29 2022 +0000 (2022-05-14) |
parents | 11b5e93cb5f2 |
children | b0069c845544 |
rev | line source |
---|---|
pankso@12736 | 1 # SliTaz package receipt. |
pankso@12736 | 2 |
pankso@12736 | 3 PACKAGE="aalib" |
slaxemulator@14625 | 4 VERSION="1.4rc5" |
slaxemulator@14625 | 5 CATEGORY="multimedia" |
slaxemulator@14625 | 6 SHORT_DESC="A portable ASCII art graphic library" |
slaxemulator@14625 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15004 | 8 LICENSE="LGPL2" |
slaxemulator@14625 | 9 WEB_SITE="http://aa-project.sourceforge.net/aalib/" |
pankso@12736 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@14625 | 11 WGET_URL="$SF_MIRROR/aa-project/$TARBALL" |
pankso@16124 | 12 HOST_ARCH="i486 arm" |
pankso@12736 | 13 |
slaxemulator@14625 | 14 DEPENDS="ncurses xorg-libXt xorg-libX11" |
slaxemulator@14625 | 15 BUILD_DEPENDS="ncurses-dev xorg-libXt-dev xorg-libX11-dev" |
pankso@12736 | 16 |
pascal@24340 | 17 # What is the latest version available today? |
pascal@24340 | 18 current_version() |
pascal@24340 | 19 { |
pascal@24340 | 20 wget -O - https://sourceforge.net/projects/aa-project/files/aa-lib/ 2>/dev/null | \ |
pascal@24340 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24340 | 22 sed '/scope="row/!d;s|.*/aa-lib/||;s|/.*||;q' |
pascal@24340 | 23 } |
pascal@24340 | 24 |
pankso@12736 | 25 # Rules to configure and make the package. |
pankso@12736 | 26 compile_rules() |
pankso@12736 | 27 { |
slaxemulator@14625 | 28 patch -Np0 -i $stuff/aclocal-fixes.patch |
al@19264 | 29 |
al@19264 | 30 ./configure $CONFIGURE_ARGS && |
pankso@12736 | 31 make && make DESTDIR=$DESTDIR install |
pankso@12736 | 32 } |
pankso@12736 | 33 |
pankso@12736 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12736 | 35 genpkg_rules() |
pankso@12736 | 36 { |
pankso@12736 | 37 mkdir -p $fs/usr/lib |
pankso@12736 | 38 cp -a $install/usr/bin $fs/usr |
pankso@12736 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12736 | 40 } |