pantry/projects/rigaux.org/hexedit/package.yml
2022-12-06 10:55:10 -04:00

31 lines
576 B
YAML

distributable:
url: https://github.com/pixel/hexedit/archive/refs/tags/{{version.raw}}.tar.gz
strip-components: 1
versions:
github: pixel/hexedit/tags
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
gnu.org/autoconf: '*'
invisible-island.net/ncurses: 6
script: |
./autogen.sh
# configure won't find libncursesw for libncurses.
sed -i.bak -e 's/-lncurses/-lncursesw/' configure
rm configure.bak
./configure --prefix={{prefix}}
make
make install
test:
script: |
hexedit -h
provides:
- bin/hexedit