From 42f9b4b604a42cde99a16a0119815f4ff2d0d983 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 31 Dec 2009 04:07:30 +0100 Subject: [PATCH] Added libebml-0.7.8 build template. --HG-- extra : convert_revision : 02c8bbef927e173b98c7ffd40d69c08050635a9b --- srcpkgs/libebml-devel | 1 + srcpkgs/libebml/depends | 2 ++ srcpkgs/libebml/libebml-devel.template | 19 +++++++++++++++++++ srcpkgs/libebml/template | 19 +++++++++++++++++++ 4 files changed, 41 insertions(+) create mode 120000 srcpkgs/libebml-devel create mode 100644 srcpkgs/libebml/depends create mode 100644 srcpkgs/libebml/libebml-devel.template create mode 100644 srcpkgs/libebml/template diff --git a/srcpkgs/libebml-devel b/srcpkgs/libebml-devel new file mode 120000 index 0000000000..bd264770bf --- /dev/null +++ b/srcpkgs/libebml-devel @@ -0,0 +1 @@ +libebml \ No newline at end of file diff --git a/srcpkgs/libebml/depends b/srcpkgs/libebml/depends new file mode 100644 index 0000000000..3c37445804 --- /dev/null +++ b/srcpkgs/libebml/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.7.8" +api_depends="${abi_depends}" diff --git a/srcpkgs/libebml/libebml-devel.template b/srcpkgs/libebml/libebml-devel.template new file mode 100644 index 0000000000..89cf01bcd5 --- /dev/null +++ b/srcpkgs/libebml/libebml-devel.template @@ -0,0 +1,19 @@ +# Template file for 'libebml-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run glibc-devel +Add_dependency run libebml + +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/libebml/template b/srcpkgs/libebml/template new file mode 100644 index 0000000000..3bfcc38af0 --- /dev/null +++ b/srcpkgs/libebml/template @@ -0,0 +1,19 @@ +# Template file for 'libebml' +pkgname=libebml +version=0.7.8 +distfiles="http://www.bunkus.org/videotools/mkvtoolnix/sources/$pkgname-$version.tar.bz2" +build_style=gnu_makefile +build_wrksrc="make/linux" +make_install_target="prefix=$XBPS_DESTDIR/$pkgname-$version/usr install" +short_desc="Extensible Binary Meta Language library" +maintainer="Juan RP " +checksum=bcf51ad8f059f52523d1683f2234fe0103d747d9fe0eb49b1e9be67ee842a0f8 +long_desc=" + EBML, or Extensible Binary Meta-Language, is a simple XML like binary + language for describing data in structured style. EBML was originally + designed for use in the Matroska project, but the developers saw that + EBML was very flexible and extensible." + +subpackages="$pkgname-devel" +Add_dependency run glibc +Add_dependency run libstdc++