Install headers in DevInstall rather then install.
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 17 Nov 2008 23:00:28 +0000 (23:00 +0000)
committerLars-Peter Clausen <lars@metafoo.de>
Mon, 17 Nov 2008 23:00:28 +0000 (23:00 +0000)
SVN-Revision: 13272

Xorg/lib/libpciaccess/Makefile

index b3484eea55fe10a86e2e199cbc721171d24503ad..86416e627d275f8c61a97fe0e74f80e14f8e7e82 100644 (file)
@@ -40,19 +40,12 @@ define Build/Configure
        )
 endef
 
-define Package/libpciaccess/install
+define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include
        $(INSTALL_DATA) \
                $(PKG_INSTALL_DIR)/usr/include/*.h \
                $(1)/usr/include
 
-       $(INSTALL_DIR) $(1)/usr/lib
-       $(INSTALL_DATA) \
-               $(PKG_INSTALL_DIR)/usr/lib/libpciaccess.so* \
-               $(1)/usr/lib/
-endef
-
-define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
        $(INSTALL_DATA) \
                $(PKG_INSTALL_DIR)/usr/lib/libpciaccess.{so*,a,la} \
@@ -63,4 +56,11 @@ define Build/InstallDev
                $(1)/usr/lib/pkgconfig/
 endef
 
+define Package/libpciaccess/install
+       $(INSTALL_DIR) $(1)/usr/lib
+       $(INSTALL_DATA) \
+               $(PKG_INSTALL_DIR)/usr/lib/libpciaccess.so* \
+               $(1)/usr/lib/
+endef
+
 $(eval $(call BuildPackage,libpciaccess))