wok annotate newt/receipt @ rev 2304

Add locale-sl (Slovenian locale pack)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Feb 24 22:17:00 2009 +0100 (2009-02-24)
parents 3d99ecce2d4b
children 7d4197e5834d
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
pascal@1515 22 sed -i 's/python2.4/python2.5/' Makefile.in
erjo@511 23 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1511 24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1511 25 make &&
erjo@511 26 make instroot=$PWD/_pkg install
erjo@511 27 }
erjo@511 28
erjo@511 29 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@511 30 genpkg_rules()
erjo@511 31 {
erjo@511 32 mkdir -p $fs/usr/lib
erjo@511 33 cp -a $_pkg/usr/bin $fs/usr
erjo@511 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@511 35 cp -a $_pkg/usr/lib/python* $fs/usr/lib
erjo@511 36
erjo@511 37 # Bug fix
erjo@511 38 cd $fs/usr/lib
erjo@511 39 ln -s libnewt.so.0.52.1 libnewt.so.0.52
erjo@586 40 strip -s $fs/usr/lib/*
erjo@511 41 }
erjo@511 42