~alpine/aports

testing/tre: new aport v2 SUPERSEDED

Al-Hassan Abdel-Raouf: 1
 testing/tre: new aport

 1 files changed, 22 insertions(+), 0 deletions(-)
> also i get error when passing --build=$CBUILD and --host=$CHOST to
> configure
> 
> and compile fine without them, maybe you can help me
> 
> The Error Message:
> 
> ```
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... Invalid configuration
> `x86_64-alpine-linux-musl': machine `x86_64-alpine-linux' not
> recognized configure: error: /bin/sh utils/config.sub
> x86_64-alpine-linux-musl failed'`'` ```
Add update_config_guess inside prepare()

```sh
prepare() {
    default_prepare
    update_config_guess
}
```
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3366/mbox | git am -3
Learn more about email & git

[PATCH v2] testing/tre: new aport Export this patch

https://laurikari.net/tre
POSIX compliant regexp matching library.
Includes agrep for approximate grepping.
---
 testing/tre/APKBUILD | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 testing/tre/APKBUILD

diff --git a/testing/tre/APKBUILD b/testing/tre/APKBUILD
new file mode 100644
index 0000000000..eddfb91bd3
--- /dev/null
+++ b/testing/tre/APKBUILD
@@ -0,0 +1,22 @@
# Contributor:
# Maintainer:
pkgname=tre
pkgver=0.8.0
pkgrel=0
pkgdesc="POSIX compliant regexp matching library. Includes agrep for approximate grepping."
url="https://laurikari.net/tre"
arch="all"
license="BSD"
subpackages="$pkgname-doc $pkgname-dev"
source="https://laurikari.net/tre/tre-$pkgver.tar.bz2"

build() {
	./configure --prefix=/usr --enable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="db7465993e0d25eee8e52f974427b8a040234cf0f017769eb94ee88bc6261821336aad7f762bfa82db7e2212d8449bc221592586f061c528a59a550773cbc263  tre-0.8.0.tar.bz2"
-- 
2.28.0
sorry for late replay

i can be the maintainer if it's okay to be one week behind from any program update to update the package
because sometimes i can access computer on weekdays
> because sometimes i can access computer on weekdays
can't 
also i get error when passing --build=$CBUILD and --host=$CHOST to configure

and compile fine without them, maybe you can help me

The Error Message:

```
checking build system type... x86_64-unknown-linux-gnu
checking host system type... Invalid configuration `x86_64-alpine-linux-musl': machine `x86_64-alpine-linux' not recognized
configure: error: /bin/sh utils/config.sub x86_64-alpine-linux-musl failed'`'`
```