From f48d8d90f331777ff5b457fa4d84e40e6047aead Mon Sep 17 00:00:00 2001 From: Wintemrute Date: Thu, 2 Dec 2010 17:20:43 +0100 Subject: [PATCH] Adding attr for systemd --- packages/devel/attr/build | 19 +++++++++++++++++++ packages/devel/attr/install | 7 +++++++ packages/devel/attr/meta | 14 ++++++++++++++ 3 files changed, 40 insertions(+) create mode 100755 packages/devel/attr/build create mode 100755 packages/devel/attr/install create mode 100644 packages/devel/attr/meta diff --git a/packages/devel/attr/build b/packages/devel/attr/build new file mode 100755 index 0000000000..cc30615053 --- /dev/null +++ b/packages/devel/attr/build @@ -0,0 +1,19 @@ +#!/bin/sh + +. config/options $1 + +$SCRIPTS/build toolchain + +cd $PKG_BUILD +./configure --host=$TARGET_NAME \ + --build=$HOST_NAME \ + --prefix=/usr \ + --exec-prefix=/usr \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --enable-shared \ + --disable-static \ + +make + +cp -P libattr/.libs/*.so* $SYSROOT_PREFIX/usr/lib/ diff --git a/packages/devel/attr/install b/packages/devel/attr/install new file mode 100755 index 0000000000..477e3ec9cc --- /dev/null +++ b/packages/devel/attr/install @@ -0,0 +1,7 @@ +#!/bin/sh + +. config/options $1 + +mkdir -p $INSTALL/usr/lib + cp -P $PKG_BUILD/libattr/.libs/*.so* $INSTALL/usr/lib + diff --git a/packages/devel/attr/meta b/packages/devel/attr/meta new file mode 100644 index 0000000000..8b6a71b24c --- /dev/null +++ b/packages/devel/attr/meta @@ -0,0 +1,14 @@ +PKG_NAME="attr" +PKG_VERSION="2.4.44" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="" +PKG_URL="http://download.savannah.gnu.org/releases-noredirect/attr/$PKG_NAME-$PKG_VERSION.src.tar.gz" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="accessibility" +PKG_SHORTDESC="attr: Extended Attributes Of Filesystem Objects" +PKG_LONGDESC="Extended attributes are name:value pairs associated perma- nently with files and directories, similar to the environ- ment strings associated with a process. An attribute may be defined or undefined. If it is defined, its value may be empty or non-empty. Extended attributes are extensions to the normal attributes which are associated with all inodes in the system (i.e. the stat(2) data). They are often used to provide additional functionality to a filesystem - for example, additional security features such as Access Con- trol Lists (ACLs) may be implemented using extended attributes." +PKG_IS_ADDON="no"