wok-current view aalib/receipt @ rev 16024

spk: add to cross arch's
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 06 23:00:20 2014 +0100 (2014-03-06)
parents 1bf5511f099e
children d0e0683c923e
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"
13 DEPENDS="ncurses xorg-libXt xorg-libX11"
14 BUILD_DEPENDS="ncurses-dev xorg-libXt-dev xorg-libX11-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -Np0 -i $stuff/aclocal-fixes.patch
21 ./configure $CONFIGURE_ARGS &&
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 }