libevent: cleanup, fix cflags

git-svn-id: svn://svn.openwrt.org/openwrt/packages@8271 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-07-31 10:46:18 +00:00
parent 9dba086dce
commit 6f75e2e796

View File

@ -39,18 +39,14 @@ define Package/libevent
URL:=http://www.monkey.org/~provos/libevent/
endef
define Build/Configure
$(call Build/Configure/Default, \
--enable-shared \
--enable-static \
)
endef
CONFIGURE_ARGS += \
--enable-shared \
--enable-static \
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
MAKE_FLAGS += \
CFLAGS="$(TARGET_CFLAGS)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/include