summaryrefslogtreecommitdiff
path: root/package/eudev/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-16 08:43:51 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-16 08:43:51 +0100
commit043601ef5ccc17b3aac714be38889c07b6b5b6f3 (patch)
tree3581a07a1a001b919b7515e5baf2d78d0151a6e5 /package/eudev/Makefile
parent6b521744a3b178dc910a46191aed8cf75de1cee7 (diff)
parent69d9bac9dad423e4cabf7bfa97a7765e4c442104 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/eudev/Makefile')
-rw-r--r--package/eudev/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/package/eudev/Makefile b/package/eudev/Makefile
new file mode 100644
index 000000000..13f8c1b20
--- /dev/null
+++ b/package/eudev/Makefile
@@ -0,0 +1,48 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= eudev
+PKG_VERSION:= 1.3
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 164df78f6f0093578a20bdd00335845f
+PKG_DESCR:= udev device manager
+PKG_SECTION:= utils
+PKG_URL:= http://www.gentoo.org/proj/en/eudev/
+PKG_SITES:= http://dev.gentoo.org/~blueness/eudev/
+PKG_LIBNAME:= libudev
+PKG_OPTS:= dev
+
+PKG_SUBPKGS:= UDEV LIBUDEV LIBGUDEV
+PKGSC_LIBGUDEV:= libs
+PKGSD_LIBGUDEV:= GUDEV library
+PKGSC_LIBUDEV:= libs
+PKGSD_LIBUDEV:= UDEV library
+PKGSD_UDEV:= Dynamic device management subsystem
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,UDEV,udev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+$(eval $(call PKG_template,LIBUDEV,libudev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+$(eval $(call PKG_template,LIBGUDEV,libgudev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+CONFIGURE_ARGS+= --disable-manpages \
+ --disable-gtk-doc
+
+udev-install:
+ ${INSTALL_DIR} ${IDIR_UDEV}/usr/bin ${IDIR_UDEV}/etc/udev
+ ${INSTALL_DIR} ${IDIR_UDEV}/usr/lib/udev
+ ${CP} ${WRKINST}/etc/udev/* ${IDIR_UDEV}/etc/udev
+ ${CP} ${WRKINST}/usr/lib/udev/* ${IDIR_UDEV}/usr/lib/udev
+ ${CP} ${WRKINST}/usr/bin/udevadm ${IDIR_UDEV}/usr/bin
+
+libudev-install:
+ ${INSTALL_DIR} ${IDIR_LIBUDEV}/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libudev.so* $(IDIR_LIBUDEV)/usr/lib
+
+libgudev-install:
+ ${INSTALL_DIR} ${IDIR_LIBGUDEV}/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libgudev*.so* $(IDIR_LIBGUDEV)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk