wok-next diff enca/receipt @ rev 20287
remove pure-ftpd-pam, screen-pam, screen-terminfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 16:26:01 2017 +0100 (2017-11-08) |
parents | 8139105f9285 |
children | c4e53a39395a |
line diff
1.1 --- a/enca/receipt Sat Apr 05 23:47:33 2014 +0200 1.2 +++ b/enca/receipt Wed Nov 08 16:26:01 2017 +0100 1.3 @@ -1,25 +1,26 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="enca" 1.8 -VERSION="1.13" 1.9 +VERSION="1.19" 1.10 CATEGORY="x-window" 1.11 -SHORT_DESC="Enca is an Extremely Naive Charset Analyser." 1.12 +SHORT_DESC="Enca is an Extremely Naive Charset Analyser" 1.13 MAINTAINER="pankso@slitaz.org" 1.14 LICENSE="GPL2" 1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 -WEB_SITE="http://gitorious.org/enca" 1.17 -WGET_URL="http://dl.cihar.com/enca/$TARBALL" 1.18 +WEB_SITE="https://cihar.com/software/enca/" 1.19 #HOST_ARCH="i486 arm" 1.20 1.21 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.22 +WGET_URL="https://dl.cihar.com/enca/$TARBALL" 1.23 + 1.24 +SPLIT="enca-dev" 1.25 + 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 { 1.29 #sed -e "s#./make_hash#./native_make_hash#" -i tools/Makefile.am || exit 1 1.30 ./configure \ 1.31 - --prefix=/usr \ 1.32 - --libexecdir=/usr/lib \ 1.33 - --disable-static \ 1.34 - $CONFIGURE_ARGS && 1.35 + --disable-static \ 1.36 + $CONFIGURE_ARGS && 1.37 make && 1.38 make DESTDIR=$DESTDIR install 1.39 } 1.40 @@ -27,8 +28,8 @@ 1.41 # Rules to gen a SliTaz package suitable for Tazpkg. 1.42 genpkg_rules() 1.43 { 1.44 - mkdir -p $fs/usr/lib 1.45 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.46 - cp -a $install/usr/lib/enca $fs/usr/lib 1.47 - cp -a $install/usr/bin $fs/usr 1.48 + case $PACKAGE in 1.49 + enca) copy @std ;; 1.50 + enca-dev) copy @dev ;; 1.51 + esac 1.52 }