wok view enca/receipt @ rev 23976
net-snmp: do not install darwin?.h
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 31 15:07:33 2020 +0000 (2020-10-31) |
parents | 3b5deb6c2692 |
children | bfabe25c21ff |
line source
1 # SliTaz package receipt.
3 PACKAGE="enca"
4 VERSION="1.19"
5 CATEGORY="x-window"
6 SHORT_DESC="Enca is an Extremely Naive Charset Analyser."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://cihar.com/software/enca/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://dl.cihar.com/$PACKAGE/$TARBALL"
13 #HOST_ARCH="i486 arm"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 #sed -e "s#./make_hash#./native_make_hash#" -i tools/Makefile.am || exit 1
19 ./configure \
20 --prefix=/usr \
21 --libexecdir=/usr/lib \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 make -j 1 &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 cp -a $install/usr/lib/enca $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 }