wok-next annotate enca/receipt @ rev 20533
cairo-clock, grub4dos: fix CFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 27 12:50:45 2018 +0200 (2018-03-27) |
parents | 9278a60d6895 |
children | 835b3b8ce6ac |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
pankso@4322 | 2 |
pankso@4322 | 3 PACKAGE="enca" |
al@19741 | 4 VERSION="1.19" |
pankso@4322 | 5 CATEGORY="x-window" |
al@19741 | 6 SHORT_DESC="Enca is an Extremely Naive Charset Analyser" |
pankso@4322 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15588 | 8 LICENSE="GPL2" |
al@19741 | 9 WEB_SITE="https://cihar.com/software/enca/" |
pankso@4322 | 10 |
al@19741 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19741 | 12 WGET_URL="https://dl.cihar.com/enca/$TARBALL" |
al@19741 | 13 |
al@19741 | 14 SPLIT="enca-dev" |
al@19741 | 15 |
pankso@4322 | 16 # Rules to configure and make the package. |
pankso@4322 | 17 compile_rules() |
pankso@4322 | 18 { |
pankso@16276 | 19 #sed -e "s#./make_hash#./native_make_hash#" -i tools/Makefile.am || exit 1 |
pankso@4322 | 20 ./configure \ |
al@19741 | 21 --disable-static \ |
al@19741 | 22 $CONFIGURE_ARGS && |
pankso@4322 | 23 make && |
pascal@15588 | 24 make DESTDIR=$DESTDIR install |
pankso@4322 | 25 } |
pankso@4322 | 26 |
pankso@4322 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4322 | 28 genpkg_rules() |
pankso@4322 | 29 { |
al@19741 | 30 case $PACKAGE in |
al@19741 | 31 enca) copy @std ;; |
al@19741 | 32 enca-dev) copy @dev ;; |
al@19741 | 33 esac |
pankso@4322 | 34 } |