wok view enca/receipt @ rev 14244

linux-source: fix version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 23 14:31:05 2013 +0100 (2013-03-23)
parents fe2baa2becc1
children fcdd50638150
line source
1 # SliTaz package receipt.
3 PACKAGE="enca"
4 VERSION="1.13"
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 }