wok-next annotate newt/receipt @ rev 1480
update BUILD_DEPENDS for claws-mail-attremover claws-mail-notification claws-mail-vcalendar edje efreet ewl imlib2 xorg-server xorg-xf86-input-evdev xorg-xf86-input-keyboard xorg-xf86-input-mouse xorg-xf86-video-ati xorg-xf86-video-nv xorg-xf86-video-vesa xorg-xkeyboard-config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 04 17:10:38 2008 +0000 (2008-10-04) |
parents | 105b6d393c9d |
children | 3d99ecce2d4b |
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" |
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 |