wok annotate enca/receipt @ rev 4322

Add: enca (Naive Charset Analyser)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Sep 29 23:47:17 2009 +0200 (2009-09-29)
parents
children 2926f51e796f
rev   line source
pankso@4322 1 # SliTaz package receipt.
pankso@4322 2
pankso@4322 3 PACKAGE="enca"
pankso@4322 4 VERSION="1.11"
pankso@4322 5 CATEGORY="x-window"
pankso@4322 6 SHORT_DESC="Enca is an Extremely Naive Charset Analyser."
pankso@4322 7 MAINTAINER="pankso@slitaz.org"
pankso@4322 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@4322 9 WEB_SITE="http://gitorious.org/enca"
pankso@4322 10 WGET_URL="http://dl.cihar.com/enca/$TARBALL"
pankso@4322 11
pankso@4322 12 # Rules to configure and make the package.
pankso@4322 13 compile_rules()
pankso@4322 14 {
pankso@4322 15 cd $src
pankso@4322 16 ./configure \
pankso@4322 17 --prefix=/usr \
pankso@4322 18 --libexecdir=/usr/lib \
pankso@4322 19 $CONFIGURE_ARGS &&
pankso@4322 20 make &&
pankso@4322 21 make DESTDIR=$PWD/_pkg install
pankso@4322 22 }
pankso@4322 23
pankso@4322 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4322 25 genpkg_rules()
pankso@4322 26 {
pankso@4322 27 mkdir -p $fs/usr/lib
pankso@4322 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@4322 29 cp -a $_pkg/usr/lib/enca $fs/usr/lib
pankso@4322 30 cp -a $_pkg/usr/bin $fs/usr
pankso@4322 31 }