wok-current view enca/receipt @ rev 7302

Removed tazpkg genpkg from alot of packages that don't need them since there just repackaging them 2nd time.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Nov 17 03:47:52 2010 +0000 (2010-11-17)
parents fe2baa2becc1
children fcdd50638150
line source
1 # SliTaz package receipt.
3 PACKAGE="enca"
4 VERSION="1.13"
5 CATEGORY="x-window"
6 SHORT_DESC="Enca is an Extremely Naive Charset Analyser."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://gitorious.org/enca"
10 WGET_URL="http://dl.cihar.com/enca/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 --libexecdir=/usr/lib \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 cp -a $_pkg/usr/lib/enca $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 }