wok-4.x view enca/receipt @ rev 4712

Up: ntfs-3g* (2009.11.14)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Jan 04 21:52:33 2010 +0100 (2010-01-04)
parents
children 2926f51e796f
line source
1 # SliTaz package receipt.
3 PACKAGE="enca"
4 VERSION="1.11"
5 CATEGORY="x-window"
6 SHORT_DESC="Enca is an Extremely Naive Charset Analyser."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://gitorious.org/enca"
10 WGET_URL="http://dl.cihar.com/enca/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 --libexecdir=/usr/lib \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 cp -a $_pkg/usr/lib/enca $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 }