wok view dialog/receipt @ rev 12840
dialog: cross-compile for ARM
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 23 01:33:30 2012 +0200 (2012-05-23) |
parents | b226995ee0d0 |
children | 76b72f1ad63c |
line source
1 # SliTaz package receipt.
3 PACKAGE="dialog"
4 VERSION="1.1-20110707"
5 CATEGORY="base-system"
6 SHORT_DESC="Script-interpreter which provides a set of curses widgets."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tgz"
9 WEB_SITE="http://invisible-island.net/dialog/"
10 WGET_URL="ftp://invisible-island.net/$PACKAGE/$TARBALL"
11 HOST_ARCH="i486 arm"
13 DEPENDS="ncursesw"
14 BUILD_DEPENDS="ncursesw-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --mandir=/usr/share/man \
24 --with-ncursesw \
25 --enable-widec \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr $fs/etc
34 cp -a $install/usr/bin $fs/usr
35 # Config file.
36 cp $stuff/dialogrc $fs/etc
37 }