wok view enca/receipt @ rev 20763

syslinux/iso2exe/init: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 13 11:04:40 2019 +0100 (2019-02-13)
parents 8139105f9285
children 3b5deb6c2692
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="https://cihar.com/software/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 }