wok-next annotate enca/receipt @ rev 13704

adding folder creations & perms
author xfred222
date Mon Dec 17 08:42:01 2012 -0500 (2012-12-17)
parents fe2baa2becc1
children fcdd50638150
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"
pankso@4322 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@4322 9 WEB_SITE="http://gitorious.org/enca"
pankso@4322 10 WGET_URL="http://dl.cihar.com/enca/$TARBALL"
pankso@4322 11
pankso@4322 12 # Rules to configure and make the package.
pankso@4322 13 compile_rules()
pankso@4322 14 {
pankso@4322 15 cd $src
pankso@4322 16 ./configure \
pankso@4322 17 --prefix=/usr \
pankso@4322 18 --libexecdir=/usr/lib \
pankso@4322 19 $CONFIGURE_ARGS &&
pankso@4322 20 make &&
pankso@4322 21 make DESTDIR=$PWD/_pkg install
pankso@4322 22 }
pankso@4322 23
pankso@4322 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4322 25 genpkg_rules()
pankso@4322 26 {
pankso@4322 27 mkdir -p $fs/usr/lib
pankso@4322 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@4322 29 cp -a $_pkg/usr/lib/enca $fs/usr/lib
pankso@4322 30 cp -a $_pkg/usr/bin $fs/usr
pankso@4322 31 }