wok-current view newt/receipt @ rev 1374
Add: libid3tag (ID3 tag library)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Sep 11 15:07:04 2008 +0000 (2008-09-11) |
parents | 105b6d393c9d |
children | 3d99ecce2d4b |
line source
1 # SliTaz package receipt.
3 PACKAGE="newt"
4 VERSION="0.52.2"
5 CATEGORY="development"
6 SHORT_DESC="Not Erik's Windowing Toolkit"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="slang"
9 BUILD_DEPENDS="slang-dev tcl popt-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://packages.debian.org/etch/libnewt0.52"
12 WGET_URL="http://mirror.pimentvert.com/sources/newt/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
19 # Fixe group/owner
20 chown -R root.root $src
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man $CONFIGURE_ARGS
24 make
25 make instroot=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/python* $fs/usr/lib
36 # Bug fix
37 cd $fs/usr/lib
38 ln -s libnewt.so.0.52.1 libnewt.so.0.52
39 strip -s $fs/usr/lib/*
40 }