Adding attr for systemd

This commit is contained in:
Wintemrute 2010-12-02 17:20:43 +01:00 committed by Stephan Raue
parent 4df7efd8b4
commit f48d8d90f3
3 changed files with 40 additions and 0 deletions

19
packages/devel/attr/build Executable file
View File

@ -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/

7
packages/devel/attr/install Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
. config/options $1
mkdir -p $INSTALL/usr/lib
cp -P $PKG_BUILD/libattr/.libs/*.so* $INSTALL/usr/lib

14
packages/devel/attr/meta Normal file
View File

@ -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"