parent
d6c4884455
commit
a6ba06c526
@ -0,0 +1,5 @@
|
||||
### MXE Plugins
|
||||
|
||||
A collection of unsupported examples, experiments, tools, and utilities.
|
||||
|
||||
Enjoy!
|
@ -0,0 +1,27 @@
|
||||
This file is part of MXE.
|
||||
See index.html for further information.
|
||||
|
||||
From e941cfd42870fe214f8c44cd5e4d8ee6893b0904 Mon Sep 17 00:00:00 2001
|
||||
From: Boris Nagaev <bnagaev@gmail.com>
|
||||
Date: Fri, 25 Sep 2015 10:19:17 +0200
|
||||
Subject: [PATCH] don't discard CONFIG set by qmake
|
||||
|
||||
See https://github.com/mxe/mxe/commit/6c561c5f3307944d7b6d7ec3de732b25bf69ed00
|
||||
---
|
||||
src/src.pro | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/src.pro b/src/src.pro
|
||||
index 7644b93..827741d 100644
|
||||
--- a/src/src.pro
|
||||
+++ b/src/src.pro
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
-CONFIG = qt uic resources thread stl warn_on
|
||||
+CONFIG += qt uic resources thread stl warn_on
|
||||
QT += xml
|
||||
|
||||
*-g++ : QMAKE_CXXFLAGS_WARN_ON += -Wno-sign-compare
|
||||
--
|
||||
1.7.10.4
|
||||
|
@ -0,0 +1,27 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := keepassx
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 0.4.3
|
||||
$(PKG)_CHECKSUM := cd901a0611ce57e62cf6df7eeeb1b690b5232302bdad8626994eb54adcfa1e85
|
||||
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_URL := https://www.keepassx.org/releases/$($(PKG)_FILE)
|
||||
$(PKG)_WEBSITE := https://www.keepassx.org
|
||||
$(PKG)_MAKEFILE := $(realpath $(lastword $(MAKEFILE_LIST)))
|
||||
$(PKG)_OWNER := https://github.com/starius
|
||||
$(PKG)_DEPS := gcc qt
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://www.keepassx.org/downloads/' | \
|
||||
$(SED) -n 's,.*keepassx-\([0-9][^"]*\)\.tar.*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
cd '$(1)' && '$(TARGET)-qmake-qt4' \
|
||||
"PREFIX=$(PREFIX)/$(TARGET)/bin/"
|
||||
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
||||
$(MAKE) -C '$(1)' -j 1 install
|
||||
endef
|
@ -0,0 +1,31 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := autoconf
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 2.69
|
||||
$(PKG)_CHECKSUM := 64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
|
||||
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz
|
||||
$(PKG)_URL := http://ftp.gnu.org/pub/gnu/autoconf/$($(PKG)_FILE)
|
||||
$(PKG)_URL_2 := ftp://ftp.gnu.org/pub/gnu/autoconf/$($(PKG)_FILE)
|
||||
$(PKG)_WEBSITE := http://www.gnu.org/software/autoconf
|
||||
$(PKG)_MAKEFILE := $(realpath $(lastword $(MAKEFILE_LIST)))
|
||||
$(PKG)_OWNER := https://github.com/tonytheodore
|
||||
$(PKG)_TARGETS := $(BUILD)
|
||||
$(PKG)_DEPS := m4
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://ftp.gnu.org/gnu/autoconf/?C=M;O=D' | \
|
||||
$(SED) -n 's,.*<a href="autoconf-\([0-9][^"]*\)\.tar.*,\1,p' | \
|
||||
$(SORT) -V | \
|
||||
tail -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD_$(BUILD)
|
||||
mkdir '$(1).build'
|
||||
cd '$(1).build' && '$(1)/configure' \
|
||||
--prefix='$(PREFIX)/$(TARGET)'
|
||||
$(MAKE) -C '$(1).build' -j '$(JOBS)'
|
||||
$(MAKE) -C '$(1).build' -j 1 install
|
||||
endef
|
@ -0,0 +1,31 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := automake
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 1.15
|
||||
$(PKG)_CHECKSUM := 7946e945a96e28152ba5a6beb0625ca715c6e32ac55f2e353ef54def0c8ed924
|
||||
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_URL := http://ftp.gnu.org/pub/gnu/automake/$($(PKG)_FILE)
|
||||
$(PKG)_URL_2 := ftp://ftp.gnu.org/pub/gnu/automake/$($(PKG)_FILE)
|
||||
$(PKG)_WEBSITE := http://www.gnu.org/software/automake
|
||||
$(PKG)_MAKEFILE := $(realpath $(lastword $(MAKEFILE_LIST)))
|
||||
$(PKG)_OWNER := https://github.com/tonytheodore
|
||||
$(PKG)_TARGETS := $(BUILD)
|
||||
$(PKG)_DEPS := autoconf
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://ftp.gnu.org/gnu/automake/?C=M;O=D' | \
|
||||
$(SED) -n 's,.*<a href="automake-\([0-9][^"]*\)\.tar.*,\1,p' | \
|
||||
$(SORT) -V | \
|
||||
tail -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD_$(BUILD)
|
||||
mkdir '$(1).build'
|
||||
cd '$(1).build' && '$(1)/configure' \
|
||||
--prefix='$(PREFIX)/$(TARGET)'
|
||||
$(MAKE) -C '$(1).build' -j '$(JOBS)' man1_MANS=
|
||||
$(MAKE) -C '$(1).build' -j 1 install man1_MANS=
|
||||
endef
|
@ -0,0 +1,31 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := bison
|
||||
$(PKG)_IGNORE := 3%
|
||||
$(PKG)_VERSION := 2.7.1
|
||||
$(PKG)_CHECKSUM := b409adcbf245baadb68d2f66accf6fdca5e282cafec1b865f4b5e963ba8ea7fb
|
||||
$(PKG)_SUBDIR := bison-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := bison-$($(PKG)_VERSION).tar.xz
|
||||
$(PKG)_URL := http://ftp.gnu.org/pub/gnu/bison/$($(PKG)_FILE)
|
||||
$(PKG)_URL_2 := ftp://ftp.gnu.org/pub/gnu/bison/$($(PKG)_FILE)
|
||||
$(PKG)_WEBSITE := http://www.gnu.org/software/bison
|
||||
$(PKG)_MAKEFILE := $(realpath $(lastword $(MAKEFILE_LIST)))
|
||||
$(PKG)_OWNER := https://github.com/tonytheodore
|
||||
$(PKG)_TARGETS := $(BUILD)
|
||||
$(PKG)_DEPS := flex
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://ftp.gnu.org/gnu/bison/?C=M;O=D' | \
|
||||
$(SED) -n 's,.*<a href="bison-\([0-9][^"]*\)\.tar.*,\1,p' | \
|
||||
$(SORT) -V | \
|
||||
tail -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD_$(BUILD)
|
||||
mkdir '$(1).build'
|
||||
cd '$(1).build' && '$(1)/configure' \
|
||||
--prefix='$(PREFIX)/$(TARGET)'
|
||||
$(MAKE) -C '$(1).build' -j '$(JOBS)'
|
||||
$(MAKE) -C '$(1).build' -j 1 install
|
||||
endef
|
@ -0,0 +1,32 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := coreutils
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 8.23
|
||||
$(PKG)_CHECKSUM := ec43ca5bcfc62242accb46b7f121f6b684ee21ecd7d075059bf650ff9e37b82d
|
||||
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz
|
||||
$(PKG)_URL := http://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE)
|
||||
$(PKG)_URL_2 := ftp://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE)
|
||||
$(PKG)_WEBSITE := https://www.gnu.org/software/coreutils
|
||||
$(PKG)_MAKEFILE := $(realpath $(lastword $(MAKEFILE_LIST)))
|
||||
$(PKG)_OWNER := https://github.com/tonytheodore
|
||||
$(PKG)_TARGETS := $(BUILD)
|
||||
|
||||
$(PKG)_DEPS_$(BUILD) := gettext gmp libiconv libtool
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://ftp.gnu.org/gnu/coreutils/?C=M;O=D' | \
|
||||
$(SED) -n 's,.*<a href="coreutils-\([0-9][^"]*\)\.tar.*,\1,p' | \
|
||||
$(SORT) -V | \
|
||||
tail -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD_$(BUILD)
|
||||
mkdir '$(1).build'
|
||||
cd '$(1).build' && '$(1)/configure' \
|
||||
--prefix='$(PREFIX)/$(TARGET)'
|
||||
$(MAKE) -C '$(1).build' -j '$(JOBS)' man1_MANS=
|
||||
$(MAKE) -C '$(1).build' -j 1 install man1_MANS=
|
||||
endef
|
@ -0,0 +1,31 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := flex
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 2.5.39
|
||||
$(PKG)_CHECKSUM := add2b55f3bc38cb512b48fad7d72f43b11ef244487ff25fc00aabec1e32b617f
|
||||
$(PKG)_SUBDIR := flex-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := flex-$($(PKG)_VERSION).tar.bz2
|
||||
$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/flex/$($(PKG)_FILE)
|
||||
$(PKG)_WEBSITE := http://flex.sourceforge.net
|
||||
$(PKG)_MAKEFILE := $(realpath $(lastword $(MAKEFILE_LIST)))
|
||||
$(PKG)_OWNER := https://github.com/tonytheodore
|
||||
$(PKG)_TARGETS := $(BUILD)
|
||||
$(PKG)_DEPS :=
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://sourceforge.net/projects/flex/files/' | \
|
||||
grep -i 'flex/files/' | \
|
||||
$(SED) -n 's,.*/flex-\([0-9\.]*\)\.tar.*/.*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD_$(BUILD)
|
||||
mkdir '$(1).build'
|
||||
cd '$(1).build' && '$(1)/configure' \
|
||||
--prefix='$(PREFIX)/$(TARGET)' \
|
||||
--disable-shared
|
||||
$(MAKE) -C '$(1).build' -j '$(JOBS)'
|
||||
$(MAKE) -C '$(1).build' -j 1 install
|
||||
endef
|
@ -0,0 +1,14 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := gettext
|
||||
$(PKG)_TARGETS += $(BUILD)
|
||||
$(PKG)_DEPS_$(BUILD) := libiconv
|
||||
|
||||
define $(PKG)_BUILD_$(BUILD)
|
||||
mkdir '$(1).build'
|
||||
cd '$(1).build' && '$(1)/configure' \
|
||||
--prefix='$(PREFIX)/$(TARGET)'
|
||||
$(MAKE) -C '$(1).build' -j '$(JOBS)' man1_MANS=
|
||||
$(MAKE) -C '$(1).build' -j 1 install man1_MANS=
|
||||
endef
|
@ -0,0 +1,31 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := gperf
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 3.0.4
|
||||
$(PKG)_CHECKSUM := 767112a204407e62dbc3106647cf839ed544f3cf5d0f0523aaa2508623aad63e
|
||||
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_URL := http://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE)
|
||||
$(PKG)_URL_2 := ftp://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE)
|
||||
$(PKG)_WEBSITE := https://www.gnu.org/software/gperf
|
||||
$(PKG)_MAKEFILE := $(realpath $(lastword $(MAKEFILE_LIST)))
|
||||
$(PKG)_OWNER := https://github.com/tonytheodore
|
||||
$(PKG)_TARGETS := $(BUILD)
|
||||
$(PKG)_DEPS :=
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://ftp.gnu.org/gnu/gperf/?C=M;O=D' | \
|
||||
$(SED) -n 's,.*<a href="gperf-\([0-9][^"]*\)\.tar.*,\1,p' | \
|
||||
$(SORT) -V | \
|
||||
tail -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD_$(BUILD)
|
||||
mkdir '$(1).build'
|
||||
cd '$(1).build' && '$(1)/configure' \
|
||||
--prefix='$(PREFIX)/$(TARGET)'
|
||||
$(MAKE) -C '$(1).build' -j '$(JOBS)'
|
||||
$(MAKE) -C '$(1).build' -j 1 install
|
||||
endef
|
@ -0,0 +1,30 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := intltool
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 0.50.2
|
||||
$(PKG)_CHECKSUM := 67f25c5c6fb71d095793a7f895b245e65e829e8bde68c6c8b4c912144ff34406
|
||||
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_URL := https://launchpad.net/intltool/trunk/$($(PKG)_VERSION)/+download/$($(PKG)_FILE)
|
||||
$(PKG)_WEBSITE := http://freedesktop.org/wiki/Software/intltool
|
||||
$(PKG)_MAKEFILE := $(realpath $(lastword $(MAKEFILE_LIST)))
|
||||
$(PKG)_OWNER := https://github.com/tonytheodore
|
||||
$(PKG)_TARGETS := $(BUILD)
|
||||
$(PKG)_DEPS :=
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://launchpad.net/intltool/+download' | \
|
||||
$(SED) -n 's,.*https://launchpad.net/intltool/trunk/\([0-9][^"]*\)\/+download/intltool-\([0-9][^"]*\)\.tar.*,\1,p' | \
|
||||
$(SORT) -V | \
|
||||
tail -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD_$(BUILD)
|
||||
mkdir '$(1).build'
|
||||
cd '$(1).build' && '$(1)/configure' \
|
||||
--prefix='$(PREFIX)/$(TARGET)'
|
||||
$(MAKE) -C '$(1).build' -j '$(JOBS)' man1_MANS=
|
||||
$(MAKE) -C '$(1).build' -j 1 install man1_MANS=
|
||||
endef
|
@ -0,0 +1,14 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := libiconv
|
||||
$(PKG)_TARGETS += $(BUILD)
|
||||
$(PKG)_DEPS_$(BUILD) :=
|
||||
|
||||
define $(PKG)_BUILD_$(BUILD)
|
||||
mkdir '$(1).build'
|
||||
cd '$(1).build' && '$(1)/configure' \
|
||||
--prefix='$(PREFIX)/$(TARGET)'
|
||||
$(MAKE) -C '$(1).build' -j '$(JOBS)' man1_MANS=
|
||||
$(MAKE) -C '$(1).build' -j 1 install man1_MANS=
|
||||
endef
|
@ -0,0 +1,14 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := libtool
|
||||
$(PKG)_TARGETS += $(BUILD)
|
||||
$(PKG)_DEPS_$(BUILD) := autoconf automake
|
||||
|
||||
define $(PKG)_BUILD_$(BUILD)
|
||||
mkdir '$(1).build'
|
||||
cd '$(1).build' && '$(1)/configure' \
|
||||
--prefix='$(PREFIX)/$(TARGET)'
|
||||
$(MAKE) -C '$(1).build' -j '$(JOBS)'
|
||||
$(MAKE) -C '$(1).build' -j 1 install
|
||||
endef
|
@ -0,0 +1,33 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := m4
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 1.4.17
|
||||
$(PKG)_CHECKSUM := f0543c3beb51fa6b3337d8025331591e0e18d8ec2886ed391f1aade43477d508
|
||||
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz
|
||||
$(PKG)_URL := http://ftp.gnu.org/pub/gnu/m4/$($(PKG)_FILE)
|
||||
$(PKG)_URL_2 := ftp://ftp.gnu.org/pub/gnu/m4/$($(PKG)_FILE)
|
||||
$(PKG)_WEBSITE := http://www.gnu.org/software/m4
|
||||
$(PKG)_MAKEFILE := $(realpath $(lastword $(MAKEFILE_LIST)))
|
||||
$(PKG)_OWNER := https://github.com/tonytheodore
|
||||
$(PKG)_TARGETS := $(BUILD)
|
||||
$(PKG)_DEPS :=
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://ftp.gnu.org/gnu/m4/?C=M;O=D' | \
|
||||
$(SED) -n 's,.*<a href="m4-\([0-9][^"]*\)\.tar.*,\1,p' | \
|
||||
$(SORT) -V | \
|
||||
tail -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD_$(BUILD)
|
||||
# gets has been removed from recent glibc
|
||||
$(SED) -i -e '/gets is a/d' '$(1)/lib/stdio.in.h'
|
||||
mkdir '$(1).build'
|
||||
cd '$(1).build' && '$(1)/configure' \
|
||||
--prefix='$(PREFIX)/$(TARGET)'
|
||||
$(MAKE) -C '$(1).build' -j '$(JOBS)'
|
||||
$(MAKE) -C '$(1).build' -j 1 install
|
||||
endef
|
@ -0,0 +1,32 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := make
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 4.1
|
||||
$(PKG)_CHECKSUM := 0bc7613389650ee6a24554b52572a272f7356164fd2c4132b0bcf13123e4fca5
|
||||
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
|
||||
$(PKG)_URL := http://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE)
|
||||
$(PKG)_URL_2 := ftp://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE)
|
||||
$(PKG)_WEBSITE := http://www.gnu.org/software/make
|
||||
$(PKG)_MAKEFILE := $(realpath $(lastword $(MAKEFILE_LIST)))
|
||||
$(PKG)_OWNER := https://github.com/tonytheodore
|
||||
$(PKG)_TARGETS := $(BUILD)
|
||||
|
||||
$(PKG)_DEPS_$(BUILD) := gettext
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://ftp.gnu.org/gnu/make/?C=M;O=D' | \
|
||||
$(SED) -n 's,.*<a href="make-\([0-9][^"]*\)\.tar.*,\1,p' | \
|
||||
$(SORT) -V | \
|
||||
tail -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD_$(BUILD)
|
||||
mkdir '$(1).build'
|
||||
cd '$(1).build' && '$(1)/configure' \
|
||||
--prefix='$(PREFIX)/$(TARGET)'
|
||||
$(MAKE) -C '$(1).build' -j '$(JOBS)'
|
||||
$(MAKE) -C '$(1).build' -j 1 install
|
||||
endef
|
@ -0,0 +1,32 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := sed
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 4.2.2
|
||||
$(PKG)_CHECKSUM := f048d1838da284c8bc9753e4506b85a1e0cc1ea8999d36f6995bcb9460cddbd7
|
||||
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
|
||||
$(PKG)_URL := http://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE)
|
||||
$(PKG)_URL_2 := ftp://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE)
|
||||
$(PKG)_WEBSITE := https://www.gnu.org/software/sed
|
||||
$(PKG)_MAKEFILE := $(realpath $(lastword $(MAKEFILE_LIST)))
|
||||
$(PKG)_OWNER := https://github.com/tonytheodore
|
||||
$(PKG)_TARGETS := $(BUILD)
|
||||
|
||||
$(PKG)_DEPS_$(BUILD) := gettext libiconv
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://ftp.gnu.org/gnu/sed/?C=M;O=D' | \
|
||||
$(SED) -n 's,.*<a href="sed-\([0-9][^"]*\)\.tar.*,\1,p' | \
|
||||
$(SORT) -V | \
|
||||
tail -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD_$(BUILD)
|
||||
mkdir '$(1).build'
|
||||
cd '$(1).build' && '$(1)/configure' \
|
||||
--prefix='$(PREFIX)/$(TARGET)'
|
||||
$(MAKE) -C '$(1).build' -j '$(JOBS)' man1_MANS=
|
||||
$(MAKE) -C '$(1).build' -j 1 install man1_MANS=
|
||||
endef
|
Loading…
Reference in new issue