wok annotate enca/receipt @ rev 15674
Up: wbar2 (2.3.4)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Dec 19 01:29:10 2013 +0100 (2013-12-19) |
parents | 2926f51e796f |
children | 8139105f9285 |
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@4322 | 12 |
pankso@4322 | 13 # Rules to configure and make the package. |
pankso@4322 | 14 compile_rules() |
pankso@4322 | 15 { |
pankso@4322 | 16 cd $src |
pankso@4322 | 17 ./configure \ |
pankso@4322 | 18 --prefix=/usr \ |
pankso@4322 | 19 --libexecdir=/usr/lib \ |
pankso@4322 | 20 $CONFIGURE_ARGS && |
pankso@4322 | 21 make && |
pascal@15588 | 22 make DESTDIR=$DESTDIR install |
pankso@4322 | 23 } |
pankso@4322 | 24 |
pankso@4322 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4322 | 26 genpkg_rules() |
pankso@4322 | 27 { |
pankso@4322 | 28 mkdir -p $fs/usr/lib |
pascal@15588 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15588 | 30 cp -a $install/usr/lib/enca $fs/usr/lib |
pascal@15588 | 31 cp -a $install/usr/bin $fs/usr |
pankso@4322 | 32 } |