wok view enca/receipt @ rev 4377

alpine: link shared libs (again)
author Paul Issott <paul@slitaz.org>
date Mon Oct 12 21:05:53 2009 +0000 (2009-10-12)
parents
children 2926f51e796f
line source
1 # SliTaz package receipt.
3 PACKAGE="enca"
4 VERSION="1.11"
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 }