]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
libevent: Cleanup makefile.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 21 Feb 2010 21:03:10 +0000 (22:03 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 21 Feb 2010 21:03:10 +0000 (22:03 +0100)
pkgs/core/libevent/libevent.nm

index 9db2e38c03c34461f848db55b8d2af00a7931046..bdea038face3248a315e17f48975ad35701eb83b 100644 (file)
@@ -34,8 +34,6 @@ PKG_URL        = http://monkey.org/~provos/libevent/
 PKG_LICENSE    = BSD
 PKG_SUMMARY    = Abstract asynchronous event notification library.
 
-PKG_DEPS      +=
-
 define PKG_DESCRIPTION
        The libevent API provides a mechanism to execute a callback \
        function when a specific event occurs on a file descriptor or \
@@ -48,20 +46,6 @@ endef
 
 PKG_TARBALL    = $(THISAPP)-stable.tar.gz
 
-###############################################################################
-# Installation Details
-###############################################################################
-
-define STAGE_BUILD
-       cd $(DIR_APP)-stable && \
-               ./configure \
-                       --prefix=/usr \
-                       --disable-static \
-                       --mandir=/usr/share/man
+DIR_APP = $(DIR_SRC)/$(THISAPP)-stable
 
-       cd $(DIR_APP)-stable && make $(PARALLELISMFLAGS)
-endef
-
-define STAGE_INSTALL
-       cd $(DIR_APP)-stable && make install DESTDIR=$(BUILDROOT)
-endef
+CONFIGURE_OPTIONS += --mandir=/usr/share/man