wok annotate aalib/receipt @ rev 18625
Add loderunner
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 23 17:55:34 2015 +0100 (2015-11-23) |
parents | a00bf44ed23d |
children | 45507bfb2b0d |
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 |
pankso@12736 | 17 # Rules to configure and make the package. |
pankso@12736 | 18 compile_rules() |
pankso@12736 | 19 { |
pankso@12736 | 20 cd $src |
slaxemulator@14625 | 21 patch -Np0 -i $stuff/aclocal-fixes.patch |
slaxemulator@14625 | 22 ./configure $CONFIGURE_ARGS && |
pankso@12736 | 23 make && make DESTDIR=$DESTDIR install |
pankso@12736 | 24 } |
pankso@12736 | 25 |
pankso@12736 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12736 | 27 genpkg_rules() |
pankso@12736 | 28 { |
pankso@12736 | 29 mkdir -p $fs/usr/lib |
pankso@12736 | 30 cp -a $install/usr/bin $fs/usr |
pankso@12736 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12736 | 32 } |