libgssapi: cleanup and fix compile
authorOliver Ertl <oliver@ertl-net.net>
Thu, 12 Jul 2007 09:33:55 +0000 (09:33 +0000)
committerOliver Ertl <oliver@ertl-net.net>
Thu, 12 Jul 2007 09:33:55 +0000 (09:33 +0000)
SVN-Revision: 7933

libs/libgssapi/Makefile

index d33e26a33cf1f82d0240c82292baac54d8ede076..c15f761962533b80e0343b6af6a42ace33a82f11 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libgssapi
 PKG_VERSION:=0.11
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.citi.umich.edu/projects/nfsv4/linux/libgssapi/
@@ -27,28 +27,26 @@ define Package/libgssapi
 endef
 
 TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/lib
-define Build/Compile
-       $(call Build/Compile/Default, \
-               OPT="$(TARGET_CFLAGS)" \
-               INSTALLSUID="install -m 4755" \
-               DESTDIR="$(PKG_INSTALL_DIR)" \
-               all install \
-       )
-endef
+
+MAKE_FLAGS += \
+       OPT="$(TARGET_CFLAGS)" \
+       INSTALLSUID="install -m 4755" \
+       DESTDIR="$(PKG_INSTALL_DIR)" \
+       all install
 
 define Build/InstallDev
-       mkdir -p $(STAGING_DIR)/usr/include/gssglue/gssapi
+       $(INSTALL_DIR) $(STAGING_DIR)/usr/include/gssglue/gssapi
        $(CP) $(PKG_INSTALL_DIR)/usr/include/gssglue/gssapi/gssapi.h $(STAGING_DIR)/usr/include/gssglue/gssapi
-       mkdir -p $(STAGING_DIR)/usr/lib
+       $(INSTALL_DIR) $(STAGING_DIR)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgssapi.{a,so*} $(STAGING_DIR)/usr/lib
-       mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig
+       $(INSTALL_DIR) $(STAGING_DIR)/usr/lib/pkgconfig
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libgssapi.pc $(STAGING_DIR)/usr/lib/pkgconfig
 endef
 
 define Build/UninstallDev
        rm -rf \
-               $(STAGING_DIR)/usr/include/gssglue
-               $(STAGING_DIR)/usr/lib/libgssapi.{a,so*}
+               $(STAGING_DIR)/usr/include/gssglue \
+               $(STAGING_DIR)/usr/lib/libgssapi.{a,so*} \
                $(STAGING_DIR)/usr/lib/pkgconfig/libgssapi.pc
 endef