kumquat-buildroot/package/libnl/libnl.mk
Peter Korsgaard 5ebc568354 Revert "libnl: handle all installed libraries"
This reverts commit 61901bd74a.

Turns out the libnl splitup is only needed for the not-released-yet v2.0.

Conflicts:

	CHANGES
2009-10-26 19:15:11 +01:00

23 lines
684 B
Makefile

#############################################################
#
# libnl
#
#############################################################
LIBNL_VERSION = 1.1
LIBNL_SOURCE = libnl-$(LIBNL_VERSION).tar.gz
LIBNL_SITE = http://distfiles.gentoo.org/distfiles
LIBNL_INSTALL_STAGING = YES
LIBNL_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
$(eval $(call AUTOTARGETS,package,libnl))
$(LIBNL_HOOK_POST_INSTALL): $(LIBNL_TARGET_INSTALL_TARGET)
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libnl.so*
touch $@
$(LIBNL_TARGET_UNINSTALL):
$(call MESSAGE,"Uninstalling")
rm -f $(TARGET_DIR)/usr/lib/libnl.so*
rm -f $(LIBNL_TARGET_INSTALL_TARGET) $(LIBNL_HOOK_POST_INSTALL)