wok-current view newt/receipt @ rev 638
Add: sakura (GTK/vte Light Terminal ~ 40 Ko)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 22 00:20:09 2008 +0200 (2008-04-22) |
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 }