wok-next view enca/receipt @ rev 16845
netsurf: try default make rules
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Jul 12 23:41:25 2014 +0300 (2014-07-12) |
parents | fcdd50638150 |
children | 9278a60d6895 |
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 }