wok-6.x view enca/receipt @ rev 21377
razorqt, rrdtool: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 22 10:58:42 2019 +0200 (2019-04-22) |
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 }