wok-current view newt/receipt @ rev 695

hardinfo: add boot parameters
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 26 10:28:00 2008 +0000 (2008-04-26)
parents 5785b6983469
children a075ff895254
line source
1 # SliTaz package receipt.
3 PACKAGE="newt"
4 VERSION="0.52.2"
5 CATEGORY="development"
6 SHORT_DESC="Not Erik's Windowing Toolkit"
7 MAINTAINER="Erjo <erjo@slitaz.org>"
8 DEPENDS="slang"
9 BUILD_DEPENDS="slang-dev tcl popt-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://packages.debian.org/etch/libnewt0.52"
12 WGET_URL="http://mirror.pimentvert.com/sources/newt/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
19 # Fixe group/owner
20 chown -R root.root $src
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man $CONFIGURE_ARGS
24 make
25 make instroot=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/python* $fs/usr/lib
36 # Bug fix
37 cd $fs/usr/lib
38 ln -s libnewt.so.0.52.1 libnewt.so.0.52
39 strip -s $fs/usr/lib/*
40 }