|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=xz |
|
|
PKG_NAME:=xz |
|
|
PKG_VERSION:=5.2.5 |
|
|
PKG_VERSION:=5.2.5 |
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=3 |
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
|
|
PKG_SOURCE_URL:=@SF/lzmautils |
|
|
PKG_SOURCE_URL:=@SF/lzmautils |
|
@ -56,7 +56,7 @@ define BuildSubPackage |
|
|
$(call Package/xz/Default) |
|
|
$(call Package/xz/Default) |
|
|
DEPENDS:=xz-utils $(2) |
|
|
DEPENDS:=xz-utils $(2) |
|
|
TITLE:=$(1) utility from XZ Utils |
|
|
TITLE:=$(1) utility from XZ Utils |
|
|
$(if $(3),ALTERNATIVES:=$(foreach f,$(1) $(3),300:/usr/bin/$(f):/usr/bin/lzmautils-$(1))) |
|
|
|
|
|
|
|
|
$(if $(3),ALTERNATIVES:=$(foreach f,$(1) $(3),300:/usr/bin/$(f):/usr/libexec/$(1)-lzmautils)) |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/$(1)/description |
|
|
define Package/$(1)/description |
|
@ -64,8 +64,8 @@ define BuildSubPackage |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/$(1)/install |
|
|
define Package/$(1)/install |
|
|
$(INSTALL_DIR) $$(1)/usr/bin |
|
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/$(1) $$(1)/usr/bin/$(if $(3),lzmautils-$(1)) |
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $$(1)$(if $(3),/usr/libexec,/usr/bin) |
|
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/$(1) $$(1)$(if $(3),/usr/libexec/$(1)-lzmautils,/usr/bin/$(1)) |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
$$(eval $$(call BuildPackage,$(1))) |
|
|
$$(eval $$(call BuildPackage,$(1))) |
|
|