Added enca-1.13 build template.

This commit is contained in:
Juan RP 2010-12-14 00:33:54 +01:00
parent 677dc32589
commit dbbfd4b795
7 changed files with 56 additions and 0 deletions

1
srcpkgs/enca-devel Symbolic link
View file

@ -0,0 +1 @@
enca

2
srcpkgs/enca/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=1.13"
api_depends="${abi_depends}"

View file

@ -0,0 +1,18 @@
# Template file for 'recode-devel'.
#
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run recode-devel
Add_dependency run libenca
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
}

View file

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

19
srcpkgs/enca/template Normal file
View file

@ -0,0 +1,19 @@
# 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"
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."
subpackages="libenca enca-devel"
Add_dependency run glibc
Add_dependency run librecode
Add_dependency run libenca
Add_dependency build pkg-config
Add_dependency build recode-devel

1
srcpkgs/libenca Symbolic link
View file

@ -0,0 +1 @@
enca

View file

@ -716,3 +716,4 @@ libsmbclient.so libsmbclient samba-devel
libwbclient.so libsmbclient samba-devel
libjasper.so libjasper jasper-devel
librecode.so librecode recode-devel
libenca.so libenca enca-devel