wok-current view newt/receipt @ rev 1511
Update some BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 05 23:16:15 2008 +0000 (2008-10-05) |
parents | a075ff895254 |
children | cf51118bf9bd |
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 ./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 }