|
@ -8,21 +8,17 @@ |
|
|
include $(TOPDIR)/rules.mk |
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=alpine |
|
|
PKG_NAME:=alpine |
|
|
PKG_VERSION:=2.21.9999 |
|
|
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
|
PKG_VERSION:=2.22 |
|
|
|
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git |
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
|
|
PKG_SOURCE_URL:=http://repo.or.cz/alpine.git |
|
|
|
|
|
PKG_SOURCE_VERSION:=d3e6f3932f2af9deca8eed09e30a55e9bd524362 |
|
|
|
|
|
PKG_MIRROR_HASH:=72f9e8c4c3ecbd5f73f527af98ad23f716fcede3af0ab0400c6e0bc9b1288e30 |
|
|
|
|
|
|
|
|
PKG_SOURCE_URL:=http://alpine.x10host.com/alpine/release/src |
|
|
|
|
|
PKG_HASH:=849567c1b6f71fde3aaa1c97cf0577b12a525d9e22c0ea47797c4bf1cd2bbfdb |
|
|
|
|
|
|
|
|
PKG_MAINTAINER:=Antti Seppälä <a.seppala@gmail.com> |
|
|
PKG_MAINTAINER:=Antti Seppälä <a.seppala@gmail.com> |
|
|
PKG_LICENSE:=Apache-2.0 |
|
|
PKG_LICENSE:=Apache-2.0 |
|
|
PKG_LICENSE_FILES:=LICENSE |
|
|
PKG_LICENSE_FILES:=LICENSE |
|
|
|
|
|
|
|
|
PKG_FIXUP:=autoreconf |
|
|
|
|
|
|
|
|
|
|
|
PKG_INSTALL:=1 |
|
|
PKG_INSTALL:=1 |
|
|
PKG_BUILD_PARALLEL:=1 |
|
|
PKG_BUILD_PARALLEL:=1 |
|
|
|
|
|
|
|
@ -80,6 +76,7 @@ CONFIGURE_ARGS += \ |
|
|
--disable-debug \
|
|
|
--disable-debug \
|
|
|
--disable-mouse \
|
|
|
--disable-mouse \
|
|
|
--with-c-client-target=slx \
|
|
|
--with-c-client-target=slx \
|
|
|
|
|
|
$(if $(CONFIG_IPV6),--with,--without)-ipv6 |
|
|
|
|
|
|
|
|
CONFIGURE_VARS += \
|
|
|
CONFIGURE_VARS += \
|
|
|
top_builddir=$(PKG_BUILD_DIR) |
|
|
top_builddir=$(PKG_BUILD_DIR) |
|
@ -88,23 +85,11 @@ ifeq ($(BUILD_VARIANT),ssl) |
|
|
CONFIGURE_ARGS += \
|
|
|
CONFIGURE_ARGS += \
|
|
|
--with-ssl-include-dir=$(STAGING_DIR)/usr/include/openssl/. \
|
|
|
--with-ssl-include-dir=$(STAGING_DIR)/usr/include/openssl/. \
|
|
|
--with-ssl-lib-dir=$(STAGING_DIR)/usr/lib |
|
|
--with-ssl-lib-dir=$(STAGING_DIR)/usr/lib |
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(BUILD_VARIANT),nossl) |
|
|
|
|
|
|
|
|
else |
|
|
CONFIGURE_ARGS += \
|
|
|
CONFIGURE_ARGS += \
|
|
|
--without-ssl |
|
|
--without-ssl |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_BUILD_NLS),y) |
|
|
|
|
|
DISABLE_NLS:= |
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_IPV6),y) |
|
|
|
|
|
DISABLE_IPV6:= |
|
|
|
|
|
else |
|
|
|
|
|
DISABLE_IPV6:=--without-ipv6 |
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
define Build/Compile |
|
|
define Build/Compile |
|
|
( cd $(PKG_BUILD_DIR)/pith ; \
|
|
|
( cd $(PKG_BUILD_DIR)/pith ; \
|
|
|
$(HOSTCC) help_h_gen.c -c -o help_h_gen.o ; \
|
|
|
$(HOSTCC) help_h_gen.c -c -o help_h_gen.o ; \
|
|
@ -117,7 +102,7 @@ endef |
|
|
|
|
|
|
|
|
define Package/alpine/install |
|
|
define Package/alpine/install |
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/$(PKG_NAME) |
|
|
|
|
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/alpine $(1)/usr/bin/ |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
Package/alpine-nossl/install = $(Package/alpine/install) |
|
|
Package/alpine-nossl/install = $(Package/alpine/install) |
|
|