wok annotate enca/receipt @ rev 22695
updated emacs-pkg-lua-mode (20111107 -> 20130419)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jan 21 07:09:37 2020 +0100 (2020-01-21) |
parents | 3b5deb6c2692 |
children | bfabe25c21ff |
rev | line source |
---|---|
pankso@4322 | 1 # SliTaz package receipt. |
pankso@4322 | 2 |
pankso@4322 | 3 PACKAGE="enca" |
Hans-G?nter@20883 | 4 VERSION="1.19" |
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" |
Hans-G?nter@20883 | 9 WEB_SITE="https://cihar.com/software/enca/" |
Hans-G?nter@20883 | 10 |
Hans-G?nter@20884 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@20884 | 12 WGET_URL="https://dl.cihar.com/$PACKAGE/$TARBALL" |
pankso@16276 | 13 #HOST_ARCH="i486 arm" |
pankso@4322 | 14 |
pankso@4322 | 15 # Rules to configure and make the package. |
pankso@4322 | 16 compile_rules() |
pankso@4322 | 17 { |
pankso@16276 | 18 #sed -e "s#./make_hash#./native_make_hash#" -i tools/Makefile.am || exit 1 |
pankso@4322 | 19 ./configure \ |
Hans-G?nter@20883 | 20 --prefix=/usr \ |
Hans-G?nter@20883 | 21 --libexecdir=/usr/lib \ |
Hans-G?nter@20883 | 22 --disable-static \ |
Hans-G?nter@20883 | 23 $CONFIGURE_ARGS && |
Hans-G?nter@20883 | 24 make -j 1 && |
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 { |
pankso@4322 | 31 mkdir -p $fs/usr/lib |
pascal@15588 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15588 | 33 cp -a $install/usr/lib/enca $fs/usr/lib |
pascal@15588 | 34 cp -a $install/usr/bin $fs/usr |
pankso@4322 | 35 } |