wok view slang/receipt @ rev 16127

ARM: add atk (trying to cross compile GTK)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 25 17:09:00 2014 +0100 (2014-03-25)
parents 89114f946725
children d3eb5f4b53ea
line source
1 # SliTaz package receipt.
3 PACKAGE="slang"
4 VERSION="2.2.4"
5 CATEGORY="development"
6 SHORT_DESC="S-Lang library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.s-lang.org/index.html"
11 WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.2/$TARBALL
12 ftp://space.mit.edu/pub/davis/slang/v2.2/$TARBALL"
14 DEPENDS="pcre libpng zlib"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
21 make -j1 && \
22 make -j1 elf && \
23 make -j1 static &&
24 make -j1 DESTDIR=$DESTDIR install install-static
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 cp -a $install/usr/lib/slang $fs/usr/lib
34 }