wok-next view enca/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | 835b3b8ce6ac |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="enca"
4 VERSION="1.19"
5 CATEGORY="x-window"
6 SHORT_DESC="Extremely Naive Charset Analyser"
7 MAINTAINER="devel@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/enca/$TARBALL"
14 SPLIT="$PACKAGE-dev"
16 compile_rules() {
17 #sed -e "s#./make_hash#./native_make_hash#" -i tools/Makefile.am || return 1
18 ./configure \
19 --disable-static \
20 $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make DESTDIR=$install install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 enca) copy @std;;
29 *-dev) copy @dev;;
30 esac
31 }