wok annotate enca/receipt @ rev 20788
updated cifs-utils and cifs-utils-dev (6.7 -> 6.8)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 14 16:07:19 2019 +0100 (2019-02-14) |
parents | 8139105f9285 |
children | 3b5deb6c2692 |
rev | line source |
---|---|
pankso@4322 | 1 # SliTaz package receipt. |
pankso@4322 | 2 |
pankso@4322 | 3 PACKAGE="enca" |
slaxemulator@6446 | 4 VERSION="1.13" |
pankso@4322 | 5 CATEGORY="x-window" |
pankso@4322 | 6 SHORT_DESC="Enca is an Extremely Naive Charset Analyser." |
pankso@4322 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15588 | 8 LICENSE="GPL2" |
pankso@4322 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20673 | 10 WEB_SITE="https://cihar.com/software/enca/" |
pankso@4322 | 11 WGET_URL="http://dl.cihar.com/enca/$TARBALL" |
pankso@16276 | 12 #HOST_ARCH="i486 arm" |
pankso@4322 | 13 |
pankso@4322 | 14 # Rules to configure and make the package. |
pankso@4322 | 15 compile_rules() |
pankso@4322 | 16 { |
pankso@16276 | 17 #sed -e "s#./make_hash#./native_make_hash#" -i tools/Makefile.am || exit 1 |
pankso@4322 | 18 ./configure \ |
pankso@4322 | 19 --prefix=/usr \ |
pankso@4322 | 20 --libexecdir=/usr/lib \ |
pankso@16276 | 21 --disable-static \ |
pankso@4322 | 22 $CONFIGURE_ARGS && |
pankso@4322 | 23 make && |
pascal@15588 | 24 make DESTDIR=$DESTDIR install |
pankso@4322 | 25 } |
pankso@4322 | 26 |
pankso@4322 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4322 | 28 genpkg_rules() |
pankso@4322 | 29 { |
pankso@4322 | 30 mkdir -p $fs/usr/lib |
pascal@15588 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15588 | 32 cp -a $install/usr/lib/enca $fs/usr/lib |
pascal@15588 | 33 cp -a $install/usr/bin $fs/usr |
pankso@4322 | 34 } |