wok view enca/receipt @ rev 24825

updated libsdl2-ttf and libsdl2-ttf-dev (2.0.15 -> 2.0.18)
author Hans-G?nter Theisgen
date Wed Mar 23 17:04:32 2022 +0100 (2022-03-23)
parents 2ede53b1e7e1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="enca"
4 VERSION="1.19"
5 CATEGORY="x-window"
6 SHORT_DESC="Enca is an Extremely Naive Charset Analyser."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://cihar.com/software/enca/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://dl.cihar.com/$PACKAGE/$TARBALL"
13 #HOST_ARCH="i486 arm"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/*} 2>/dev/null | \
19 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 #sed -e "s#./make_hash#./native_make_hash#" -i tools/Makefile.am || exit 1
26 ./configure \
27 --prefix=/usr \
28 --libexecdir=/usr/lib \
29 --disable-static \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/lib/enca $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 }