diff options
author | Koen Kooi <koen@openembedded.org> | 2010-02-06 09:31:00 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-02-14 11:28:39 +0100 |
commit | 6c072776e4e7ed8aa2b98b4e3406650397dff427 (patch) | |
tree | 40aae14ecd5166befe6ff73bbe0dfed867d3179d /recipes/udev/attr_2.4.44.bb | |
parent | ef952aaa9b04e815c353c041f60c95ab6b9ddf29 (diff) |
attr: add 2.4.44
acl: add 2.2.49
udev: add 151
Diffstat (limited to 'recipes/udev/attr_2.4.44.bb')
-rw-r--r-- | recipes/udev/attr_2.4.44.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes/udev/attr_2.4.44.bb b/recipes/udev/attr_2.4.44.bb new file mode 100644 index 0000000000..7cb92179e7 --- /dev/null +++ b/recipes/udev/attr_2.4.44.bb @@ -0,0 +1,37 @@ +DESCRIPTION = "Commands for Manipulating Filesystem Extended Attributes" +LICENSE = "GPLv2" + +PR = "r1" + +SRC_URI = "http://mirror.its.uidaho.edu/pub/savannah/attr/attr-${PV}.src.tar.gz" + +inherit gettext autotools lib_package + +EXTRA_OECONF = " --enable-gettext=yes ac_cv_path_XGETTEXT=${STAGING_BINDIR_NATIVE}/xgettext" + +do_configure_append() { + # gettext hack + echo "#define _(str) str" >> ${S}/include/config.h +} + +do_install() { + export PKG_BIN_DIR=${D}${bindir} + export PKG_SBIN_DIR=${D}${sbindir} + export PKG_LIB_DIR=${D}${libdir} + export PKG_DEVLIB_DIR=${D}${libexecdir} + export PKG_INC_DIR=${D}${includedir}/attr + export PKG_MAN_DIR=${D}${mandir} + export PKG_DOC_DIR=${D}${datadir}/doc/attr + export PKG_LOCALE_DIR=${D}${datadir}/locale + + oe_runmake -e install install-dev install-lib + + sed -i -e s:installed=yes:installed=no: -e s:${STAGING_LIBDIR}:${libdir}:g ${D}${libdir}/libattr.la + + # Move .a and .la into libdir and remove symlinks pointing to ${S} + for file in ${D}${libexecdir}/*a ; do + rm ${D}${libdir}/$(basename $file) + mv $file ${D}${libdir} + done + rm ${D}${libexecdir} -rf +} |