wok-current view enca/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
parents fcdd50638150
children e3f377fbc5f0
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://gitorious.org/enca"
11 WGET_URL="http://dl.cihar.com/enca/$TARBALL"
12 #HOST_ARCH="i486 arm"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 #sed -e "s#./make_hash#./native_make_hash#" -i tools/Makefile.am || exit 1
18 ./configure \
19 --prefix=/usr \
20 --libexecdir=/usr/lib \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cp -a $install/usr/lib/enca $fs/usr/lib
33 cp -a $install/usr/bin $fs/usr
34 }