wok-4.x view newt/receipt @ rev 1928
Up: slitaz-configs (2.5) - New artwork for cooking
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Dec 24 14:29:57 2008 +0100 (2008-12-24) |
parents | 3d99ecce2d4b |
children | 7d4197e5834d |
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@slitaz.org"
8 DEPENDS="slang"
9 BUILD_DEPENDS="slang-dev tcl popt-dev python-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 sed -i 's/python2.4/python2.5/' Makefile.in
23 ./configure --prefix=/usr --infodir=/usr/share/info \
24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
25 make &&
26 make instroot=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/python* $fs/usr/lib
37 # Bug fix
38 cd $fs/usr/lib
39 ln -s libnewt.so.0.52.1 libnewt.so.0.52
40 strip -s $fs/usr/lib/*
41 }