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

Up: tint2 (0.9)
author Alexander Medvedev <devl547@gmail.com>
date Tue May 11 00:50:12 2010 +0000 (2010-05-11)
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 }