wok-6.x annotate enca/receipt @ rev 6389
Fixed some depends problems when building gtk-vnc. Like added libtasn1 to libtasn1-dev. Some builds need the .so files and the headers.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Sep 23 18:31:29 2010 +0000 (2010-09-23) |
parents | |
children | 2926f51e796f |
rev | line source |
---|---|
pankso@4322 | 1 # SliTaz package receipt. |
pankso@4322 | 2 |
pankso@4322 | 3 PACKAGE="enca" |
pankso@4322 | 4 VERSION="1.11" |
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 } |