recode: add homepage & license, fix build

This commit is contained in:
ojab 2013-03-30 18:39:30 +04:00
parent 35dabe183f
commit efcd78192a

View file

@ -5,9 +5,11 @@ patch_args="-Np1"
distfiles="${DEBIAN_SITE}/main/r/${pkgname}/${pkgname}_${version}.orig.tar.gz"
build_style=gnu-configure
configure_args="--without-included-gettext"
revision=2
makedepends="automake"
revision=3
makedepends="automake libtool"
short_desc="Character set conversion utility"
homepage="http://recode.progiciels-bpi.ca/"
license="GPL-2"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=e3e6a4f3f8e5c6052ab70155990c074d87aa0b614fc1be31d194750d1d962fcf
long_desc="
@ -21,6 +23,7 @@ long_desc="
subpackages="librecode $pkgname-devel"
pre_configure() {
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.in
sed -i -e "/^AM_C_PROTOTYPES.*/d" configure.in
sed -i -e "s/ansi2knr//" src/Makefile.am
rm -f acinclude.m4 && autoreconf -fi && libtoolize