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 b3484ee..86416e6 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))