Merge pull request #719 from tru7/patch-1

pthsem: fix Makefile to use TABs instead of spaces
This commit is contained in:
Steven Barth
2015-01-03 17:08:07 +01:00
+18 -18
View File
@@ -39,30 +39,30 @@ define Package/pthsem/description
endef endef
MAKE_FLAGS += \ MAKE_FLAGS += \
OPTIM="$(TARGET_CFLAGS)" \ OPTIM="$(TARGET_CFLAGS)" \
CFLAGS="$(TARGET_CFLAGS)" \ CFLAGS="$(TARGET_CFLAGS)" \
DESTDIR="$(PKG_INSTALL_DIR)" DESTDIR="$(PKG_INSTALL_DIR)"
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(2)/bin $(INSTALL_DIR) $(2)/bin
$(INSTALL_BIN) \ $(INSTALL_BIN) \
$(PKG_INSTALL_DIR)/usr/bin/pthsem-config \ $(PKG_INSTALL_DIR)/usr/bin/pthsem-config \
$(2)/bin/ $(2)/bin/
$(SED) \ $(SED) \
's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' \ 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' \
$(2)/bin/pthsem-config $(2)/bin/pthsem-config
$(INSTALL_DIR) $(1)/usr/include $(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/*.h \ $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h \
$(1)/usr/include/ $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpthsem.{a,la,so*} \ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpthsem.{a,la,so*} \
$(1)/usr/lib/ $(1)/usr/lib/
endef endef
define Package/pthsem/install define Package/pthsem/install
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpthsem.so.* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpthsem.so.* $(1)/usr/lib/
endef endef
$(eval $(call BuildPackage,pthsem)) $(eval $(call BuildPackage,pthsem))