wok-next annotate enca/receipt @ rev 18668

Change messaging... (again); libgtop-dev, libsecret-dev: implicit dependencies don't works?
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 04 17:18:44 2015 +0200 (2015-12-04)
parents fcdd50638150
children 9278a60d6895
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"
pankso@4322 10 WEB_SITE="http://gitorious.org/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 }