wok-current annotate 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 |
rev | line source |
---|---|
erjo@511 | 1 # SliTaz package receipt. |
erjo@511 | 2 |
erjo@511 | 3 PACKAGE="newt" |
erjo@511 | 4 VERSION="0.52.2" |
erjo@511 | 5 CATEGORY="development" |
erjo@511 | 6 SHORT_DESC="Not Erik's Windowing Toolkit" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@511 | 8 DEPENDS="slang" |
pascal@1511 | 9 BUILD_DEPENDS="slang-dev tcl popt-dev python-dev" |
erjo@511 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@511 | 11 WEB_SITE="http://packages.debian.org/etch/libnewt0.52" |
erjo@511 | 12 WGET_URL="http://mirror.pimentvert.com/sources/newt/$TARBALL" |
erjo@511 | 13 |
erjo@511 | 14 # Rules to configure and make the package. |
erjo@511 | 15 compile_rules() |
erjo@511 | 16 { |
erjo@511 | 17 cd $src |
erjo@511 | 18 |
erjo@511 | 19 # Fixe group/owner |
erjo@511 | 20 chown -R root.root $src |
erjo@511 | 21 |
erjo@511 | 22 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1511 | 23 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1511 | 24 make && |
erjo@511 | 25 make instroot=$PWD/_pkg install |
erjo@511 | 26 } |
erjo@511 | 27 |
erjo@511 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@511 | 29 genpkg_rules() |
erjo@511 | 30 { |
erjo@511 | 31 mkdir -p $fs/usr/lib |
erjo@511 | 32 cp -a $_pkg/usr/bin $fs/usr |
erjo@511 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@511 | 34 cp -a $_pkg/usr/lib/python* $fs/usr/lib |
erjo@511 | 35 |
erjo@511 | 36 # Bug fix |
erjo@511 | 37 cd $fs/usr/lib |
erjo@511 | 38 ln -s libnewt.so.0.52.1 libnewt.so.0.52 |
erjo@586 | 39 strip -s $fs/usr/lib/* |
erjo@511 | 40 } |
erjo@511 | 41 |