2010-12-14 00:26:36 +01:00
|
|
|
# Template file for 'recode'
|
|
|
|
pkgname=recode
|
|
|
|
version=3.6
|
2014-02-17 11:01:45 +01:00
|
|
|
revision=7
|
2010-12-14 00:26:36 +01:00
|
|
|
patch_args="-Np1"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-05-26 17:12:47 +02:00
|
|
|
configure_args="--without-included-gettext jm_cv_func_working_malloc=yes
|
|
|
|
jm_cv_func_working_realloc=yes"
|
2013-04-14 11:53:56 +02:00
|
|
|
hostmakedepends="automake libtool"
|
2010-12-14 00:26:36 +01:00
|
|
|
short_desc="Character set conversion utility"
|
2013-03-30 15:39:30 +01:00
|
|
|
homepage="http://recode.progiciels-bpi.ca/"
|
|
|
|
license="GPL-2"
|
2010-12-14 00:26:36 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-14 11:53:56 +02:00
|
|
|
distfiles="${DEBIAN_SITE}/main/r/${pkgname}/${pkgname}_${version}.orig.tar.gz"
|
2010-12-14 00:26:36 +01:00
|
|
|
checksum=e3e6a4f3f8e5c6052ab70155990c074d87aa0b614fc1be31d194750d1d962fcf
|
|
|
|
|
2012-05-23 12:16:40 +02:00
|
|
|
pre_configure() {
|
2013-03-30 15:39:30 +01:00
|
|
|
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.in
|
2012-05-23 12:16:40 +02:00
|
|
|
sed -i -e "/^AM_C_PROTOTYPES.*/d" configure.in
|
|
|
|
sed -i -e "s/ansi2knr//" src/Makefile.am
|
2013-05-26 17:07:58 +02:00
|
|
|
rm -f acinclude.m4
|
|
|
|
autoreconf -fi
|
|
|
|
libtoolize
|
2010-12-14 00:26:36 +01:00
|
|
|
}
|
2013-04-14 11:53:56 +02:00
|
|
|
|
|
|
|
librecode_package() {
|
2013-05-26 17:07:58 +02:00
|
|
|
short_desc+=" - shared library"
|
2013-04-14 11:53:56 +02:00
|
|
|
pkg_install() {
|
2014-02-17 11:01:45 +01:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 11:53:56 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
recode-devel_package() {
|
2014-02-17 11:01:45 +01:00
|
|
|
depends="libglib-devel librecode>=${version}_${revision}"
|
2013-05-26 17:07:58 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 11:53:56 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2014-02-17 11:01:45 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 11:53:56 +02:00
|
|
|
}
|
|
|
|
}
|