From 1edc18dfe33f51dff777000c0b8e4834e9b752bd Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 10 Oct 2010 19:37:16 +0200 Subject: [PATCH] new package: add package 'talloc' Signed-off-by: Stephan Raue --- packages/devel/talloc/build | 14 ++++++++++++++ packages/devel/talloc/install | 6 ++++++ packages/devel/talloc/meta | 14 ++++++++++++++ 3 files changed, 34 insertions(+) create mode 100755 packages/devel/talloc/build create mode 100755 packages/devel/talloc/install create mode 100644 packages/devel/talloc/meta diff --git a/packages/devel/talloc/build b/packages/devel/talloc/build new file mode 100755 index 0000000000..684c7e6d57 --- /dev/null +++ b/packages/devel/talloc/build @@ -0,0 +1,14 @@ +#!/bin/sh + +. config/options $1 + +cd $PKG_BUILD +./configure --host=$TARGET_NAME \ + --build=$HOST_NAME \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + +make + +$MAKEINSTALL \ No newline at end of file diff --git a/packages/devel/talloc/install b/packages/devel/talloc/install new file mode 100755 index 0000000000..7bd95d3628 --- /dev/null +++ b/packages/devel/talloc/install @@ -0,0 +1,6 @@ +#!/bin/sh + +. config/options $1 + +mkdir -p $INSTALL/usr/lib + cp -P $PKG_BUILD/libtalloc.so* $INSTALL/usr/lib diff --git a/packages/devel/talloc/meta b/packages/devel/talloc/meta new file mode 100644 index 0000000000..22d2e1dbe9 --- /dev/null +++ b/packages/devel/talloc/meta @@ -0,0 +1,14 @@ +PKG_NAME="talloc" +PKG_VERSION="2.0.1" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="LGPL" +PKG_SITE="http://www.samba.org" +PKG_URL="http://samba.org/ftp/talloc/$PKG_NAME-$PKG_VERSION.tar.gz" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="devel" +PKG_SHORTDESC="talloc: talloc is a hierarchical, reference counted memory pool system with destructors." +PKG_LONGDESC="talloc is a hierarchical, reference counted memory pool system with destructors. It is the core memory allocator used in Samba." +PKG_IS_ADDON="no"