Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add awk #29295

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Add awk #29295

Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions recipes/awk/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash -euo

set -xe

make CC="gcc -Wall"
if [ ! -d ${PREFIX}/bin ] ; then
mkdir -p ${PREFIX}/bin
fi
mv a.out ${PREFIX}/bin/awk
40 changes: 40 additions & 0 deletions recipes/awk/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{% set name = "awk" %}
{% set version = "20250116" %}

package:
name: {{ name }}
version: {{ version }}

source:
url: https://github.com/onetrueawk/{{ name }}/archive/{{ version }}.tar.gz
sha256: e031b1e1d2b230f276f975bffb923f0ea15f798c839d15a3f26a1a39448e32d7

build:
number: 0
skip: true # [win]

requirements:
build:
- {{ compiler("c") }}
- {{ stdlib("c") }}
- make
- bison

test:
commands:
- awk 'BEGIN {print 1+1}'

about:
home: https://github.com/onetrueawk/awk
license: Lucent Technologies
license_file: LICENSE
summary: One true awk
description: |
This is the version of awk described in The AWK Programming Language, Second
Edition, by Al Aho, Brian Kernighan, and Peter Weinberger (Addison-Wesley,
2024, ISBN-13 978-0138269722, ISBN-10 0138269726).
dev_url: https://github.com/onetrueawk/awk

extra:
recipe-maintainers:
- apcamargo
Loading