enca: update to 1.14.

This commit is contained in:
Juan RP 2013-01-07 11:45:58 +01:00
parent 08496c15e1
commit 7386fb02d2
3 changed files with 20 additions and 34 deletions

View File

@ -1,17 +1,11 @@
# Template file for 'recode-devel'.
#
depends="recode-devel libenca"
depends="recode-devel libenca>=${version}"
short_desc="${short_desc} - development files"
long_desc="${long_desc}
noarch=yes
This package contains files for development, headers, static libs, etc."
do_install()
{
mkdir -p ${DESTDIR}/usr/{share,lib}
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share
do_install() {
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
vmove usr/share/gtk-doc usr/share
}

View File

@ -1,13 +1,7 @@
# Template file for 'librecode'.
# Template file for 'libenca'.
#
short_desc="${short_desc} - shared library"
long_desc="${long_desc}
This package contains the shared library."
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so* ${DESTDIR}/usr/lib
do_install() {
vmove "usr/lib/*.so*" usr/lib
}

View File

@ -1,16 +1,14 @@
# Template file for 'enca'
pkgname=enca
version=1.13
distfiles="http://dl.cihar.com/enca/enca-${version}.tar.bz2"
build_style=gnu-configure
configure_args="--enable-external"
revision=2
makedepends="pkg-config recode-devel"
short_desc="Extremely Naive Charset Analyser"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=6c091455d524b3ddae3533fe9bb375092f60ad6fe252e0777c873bd7869c7432
long_desc="
Enca is an Extremely Naive Charset Analyser. It detects the character set and
the encoding of text files and can also convert them to other encodings."
version=1.14
revision=1
subpackages="libenca enca-devel"
build_style=gnu-configure
configure_args="--enable-external --disable-static"
makedepends="pkg-config recode-devel"
short_desc="Extremely Naive Charset Analyser and converter"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://cihar.com/software/enca/"
license="GPL-2"
distfiles="http://dl.cihar.com/enca/enca-${version}.tar.bz2"
checksum=7f33e3953fbbdac8ed144b31bbab1bb3bf181150db6ba4cd812fd958ce5f4b58