2010-12-13 23:26:36 +00:00
|
|
|
# Template file for 'recode'
|
|
|
|
pkgname=recode
|
|
|
|
version=3.6
|
|
|
|
patch_args="-Np1"
|
|
|
|
distfiles="${DEBIAN_SITE}/main/r/${pkgname}/${pkgname}_${version}.orig.tar.gz"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2010-12-13 23:26:36 +00:00
|
|
|
configure_args="--without-included-gettext"
|
2012-05-23 06:14:33 +00:00
|
|
|
revision=2
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="automake"
|
2010-12-13 23:26:36 +00:00
|
|
|
short_desc="Character set conversion utility"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum=e3e6a4f3f8e5c6052ab70155990c074d87aa0b614fc1be31d194750d1d962fcf
|
|
|
|
long_desc="
|
|
|
|
Free recode converts files between character sets and usages. When exact
|
|
|
|
transliterations are not possible, it may get rid of the offending
|
|
|
|
characters or fall back on approximations. This program recognizes or
|
|
|
|
produces nearly 300 different character sets and is able to transliterate
|
|
|
|
files between almost any pair. Most RFC 1345 character sets, and all
|
|
|
|
libiconv character sets, are supported."
|
|
|
|
|
|
|
|
subpackages="librecode $pkgname-devel"
|
|
|
|
|
2012-05-23 10:16:40 +00:00
|
|
|
pre_configure() {
|
|
|
|
sed -i -e "/^AM_C_PROTOTYPES.*/d" configure.in
|
|
|
|
sed -i -e "s/ansi2knr//" src/Makefile.am
|
2011-07-03 16:11:58 +00:00
|
|
|
rm -f acinclude.m4 && autoreconf -fi && libtoolize
|
2010-12-13 23:26:36 +00:00
|
|
|
}
|