From dd01fbf43cfcc21fdee9bdbeca63f053a0eb8b3e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 30 Dec 2009 21:04:53 +0100 Subject: [PATCH] Added fribidi-0.19.2 build template. --HG-- extra : convert_revision : 9ee6d24e0b54104448fbfae0678a8c2c15480c7b --- srcpkgs/fribidi-devel | 1 + srcpkgs/fribidi/depends | 2 ++ srcpkgs/fribidi/fribidi-devel.template | 19 +++++++++++++++++++ srcpkgs/fribidi/template | 17 +++++++++++++++++ 4 files changed, 39 insertions(+) create mode 120000 srcpkgs/fribidi-devel create mode 100644 srcpkgs/fribidi/depends create mode 100644 srcpkgs/fribidi/fribidi-devel.template create mode 100644 srcpkgs/fribidi/template diff --git a/srcpkgs/fribidi-devel b/srcpkgs/fribidi-devel new file mode 120000 index 0000000000..120c083a6c --- /dev/null +++ b/srcpkgs/fribidi-devel @@ -0,0 +1 @@ +fribidi \ No newline at end of file diff --git a/srcpkgs/fribidi/depends b/srcpkgs/fribidi/depends new file mode 100644 index 0000000000..d794290ef5 --- /dev/null +++ b/srcpkgs/fribidi/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.19.2" +api_depends="${abi_depends}" diff --git a/srcpkgs/fribidi/fribidi-devel.template b/srcpkgs/fribidi/fribidi-devel.template new file mode 100644 index 0000000000..de880f449b --- /dev/null +++ b/srcpkgs/fribidi/fribidi-devel.template @@ -0,0 +1,19 @@ +# Template file for 'fribidi-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run glibc-devel +Add_dependency run fribidi + +do_install() +{ + mkdir -p ${DESTDIR}/usr/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/lib/*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr +} diff --git a/srcpkgs/fribidi/template b/srcpkgs/fribidi/template new file mode 100644 index 0000000000..01627e0fd6 --- /dev/null +++ b/srcpkgs/fribidi/template @@ -0,0 +1,17 @@ +# Template file for 'fribidi' +pkgname=fribidi +version=0.19.2 +distfiles="http://fribidi.org/download/$pkgname-$version.tar.gz" +build_style=gnu_configure +short_desc="Free Implementation of the Unicode Bidirectional Algorithm" +maintainer="Juan RP " +checksum=49cf91586e48b52fe25872ff66c1da0dff0daac2593f9f300e2af12f44f64177 +long_desc=" + The library implements all of the algorithm as described in the Unicode + Standard Annex \#9, The Bidirectional Algorithm, + http://www.unicode.org/unicode/reports/tr9/. FriBidi is exhautively tested + against Bidi Reference Code, and due to our best knowledge, does not contain + any conformance bugs." + +subpackages="$pkgname-devel" +Add_dependency run glibc