wok-stable annotate newt/receipt @ rev 586

iFix: Typo in newt-dev
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Apr 16 01:14:00 2008 +0200 (2008-04-16)
parents 5785b6983469
children a075ff895254
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"
pankso@519 9 BUILD_DEPENDS="slang-dev tcl 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@586 39 strip -s $fs/usr/lib/*
erjo@511 40 }
erjo@511 41