wok-current annotate newt/receipt @ rev 511
Add: newt, Gperiodic. Typos in chemtool
author | "Eric Joseph-Alewandre <erjo@slitaz.org>" |
---|---|
date | Mon Apr 07 02:10:11 2008 +0200 (2008-04-07) |
parents | |
children | 5785b6983469 |
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@511 | 7 MAINTAINER="Erjo <erjo@slitaz.org>" |
erjo@511 | 8 DEPENDS="slang" |
erjo@511 | 9 BUILD_DEPENDS="slang-dev tcl-dev popt-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 \ |
erjo@511 | 23 --mandir=/usr/share/man $CONFIGURE_ARGS |
erjo@511 | 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@511 | 39 strip -s $fs/usr/bin/* |
erjo@511 | 40 } |
erjo@511 | 41 |