wok-next annotate enca/receipt @ rev 20116

gimp: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 30 17:57:51 2017 +0100 (2017-10-30)
parents 8139105f9285
children c4e53a39395a
rev   line source
al@19741 1 # SliTaz package receipt v2.
pankso@4322 2
pankso@4322 3 PACKAGE="enca"
al@19741 4 VERSION="1.19"
pankso@4322 5 CATEGORY="x-window"
al@19741 6 SHORT_DESC="Enca is an Extremely Naive Charset Analyser"
pankso@4322 7 MAINTAINER="pankso@slitaz.org"
pascal@15588 8 LICENSE="GPL2"
al@19741 9 WEB_SITE="https://cihar.com/software/enca/"
pankso@16276 10 #HOST_ARCH="i486 arm"
pankso@4322 11
al@19741 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19741 13 WGET_URL="https://dl.cihar.com/enca/$TARBALL"
al@19741 14
al@19741 15 SPLIT="enca-dev"
al@19741 16
pankso@4322 17 # Rules to configure and make the package.
pankso@4322 18 compile_rules()
pankso@4322 19 {
pankso@16276 20 #sed -e "s#./make_hash#./native_make_hash#" -i tools/Makefile.am || exit 1
pankso@4322 21 ./configure \
al@19741 22 --disable-static \
al@19741 23 $CONFIGURE_ARGS &&
pankso@4322 24 make &&
pascal@15588 25 make DESTDIR=$DESTDIR install
pankso@4322 26 }
pankso@4322 27
pankso@4322 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4322 29 genpkg_rules()
pankso@4322 30 {
al@19741 31 case $PACKAGE in
al@19741 32 enca) copy @std ;;
al@19741 33 enca-dev) copy @dev ;;
al@19741 34 esac
pankso@4322 35 }