Permalink
Browse files

links2: 2.2 -> 2.17 + some more dependencies (#304)

  • Loading branch information...
stalchuk authored and alllexx88 committed Nov 1, 2018
1 parent 03f5482 commit 3edd8e750d5b349e675848ecfc5c0022f25c1e21
Showing with 7 additions and 4 deletions.
  1. +1 −0 checksums/links-2.17.tar.bz2.sha512
  2. +6 −4 make/links2.mk
@@ -0,0 +1 @@
871a3a2cbc210467f4ffd830ba2966f2ebc0ec9ed4a1de018d032cec4b550e58f6858875478647c627ec746bb76810a4b97603575f2d21b5ea650c612684c8d5
View
@@ -21,22 +21,22 @@
# "NSLU2 Linux" other developers will feel free to edit.
#
LINKS2_SITE=http://links.twibright.com/download
LINKS2_VERSION=2.2
LINKS2_VERSION=2.17
LINKS2_SOURCE=links-$(LINKS2_VERSION).tar.bz2
LINKS2_DIR=links-$(LINKS2_VERSION)
LINKS2_UNZIP=bzcat
LINKS2_MAINTAINER=NSLU2 Linux <nslu2-linux@yahoogroups.com>
LINKS2_DESCRIPTION=Links is a web browser that can run in text mode.
LINKS2_SECTION=web
LINKS2_PRIORITY=optional
LINKS2_DEPENDS=bzip2, openssl, zlib
LINKS2_DEPENDS=bzip2, openssl, zlib, xz-utils, libevent
LINKS2_SUGGESTS=
LINKS2_CONFLICTS=
#
# LINKS2_IPK_VERSION should be incremented when the ipk changes.
#
LINKS2_IPK_VERSION=3
LINKS2_IPK_VERSION=1
#
# LINKS2_CONFFILES should be a list of user-editable files
@@ -105,7 +105,7 @@ links2-source: $(DL_DIR)/$(LINKS2_SOURCE) $(LINKS2_PATCHES)
# shown below to make various patches to it.
#
$(LINKS2_BUILD_DIR)/.configured: $(DL_DIR)/$(LINKS2_SOURCE) $(LINKS2_PATCHES) make/links2.mk
$(MAKE) bzip2-stage openssl-stage zlib-stage
$(MAKE) bzip2-stage openssl-stage zlib-stage xz-utils-stage libevent-stage
rm -rf $(BUILD_DIR)/$(LINKS2_DIR) $(@D)
$(LINKS2_UNZIP) $(DL_DIR)/$(LINKS2_SOURCE) | tar -C $(BUILD_DIR) -xvf -
if test -n "$(LINKS2_PATCHES)" ; \
@@ -119,6 +119,7 @@ $(LINKS2_BUILD_DIR)/.configured: $(DL_DIR)/$(LINKS2_SOURCE) $(LINKS2_PATCHES) ma
$(TARGET_CONFIGURE_OPTS) \
CPPFLAGS="$(STAGING_CPPFLAGS) $(LINKS2_CPPFLAGS)" \
LDFLAGS="$(STAGING_LDFLAGS) $(LINKS2_LDFLAGS)" \
PKG_CONFIG_PATH="$(STAGING_LIB_DIR)/pkgconfig" \
./configure \
--build=$(GNU_HOST_NAME) \
--host=$(GNU_TARGET_NAME) \
@@ -208,6 +209,7 @@ $(LINKS2_IPK): $(LINKS2_BUILD_DIR)/.built
fi
echo $(LINKS2_CONFFILES) | sed -e 's/ /\n/g' > $(LINKS2_IPK_DIR)/CONTROL/conffiles
cd $(BUILD_DIR); $(IPKG_BUILD) $(LINKS2_IPK_DIR)
$(WHAT_TO_DO_WITH_IPK_DIR) $(LINKS2_IPK_DIR)
#
# This is called from the top level makefile to create the IPK file.

0 comments on commit 3edd8e7

Please sign in to comment.