mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+autoconf+automake+libjpeg+unicode (#81)
This commit is contained in:
parent
fe0049b30c
commit
ac366df5ec
32
projects/gnu.org/autoconf/package.yml
Normal file
32
projects/gnu.org/autoconf/package.yml
Normal file
|
@ -0,0 +1,32 @@
|
|||
distributable:
|
||||
url: http://ftp.gnu.org/gnu/autoconf/autoconf-{{ version.raw }}.tar.xz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
- 2.71
|
||||
|
||||
provides:
|
||||
- bin/autoconf
|
||||
- bin/autoheader
|
||||
- bin/autom4te
|
||||
- bin/autoreconf
|
||||
- bin/autoscan
|
||||
- bin/autoupdate
|
||||
- bin/ifnames
|
||||
|
||||
dependencies:
|
||||
gnu.org/m4: 1
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
perl.org: '*'
|
||||
script: |-
|
||||
./configure \
|
||||
--build={{ hw.target }} \
|
||||
--prefix="{{ prefix }}"
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
|
||||
|
||||
test: true #FIXME
|
2
projects/gnu.org/automake/Makefile.am
Normal file
2
projects/gnu.org/automake/Makefile.am
Normal file
|
@ -0,0 +1,2 @@
|
|||
bin_PROGRAMS = test
|
||||
test_SOURCES = test.c
|
5
projects/gnu.org/automake/configure.ac
Normal file
5
projects/gnu.org/automake/configure.ac
Normal file
|
@ -0,0 +1,5 @@
|
|||
AC_INIT(test, 1.0)
|
||||
AM_INIT_AUTOMAKE
|
||||
AC_PROG_CC
|
||||
AC_CONFIG_FILES(Makefile)
|
||||
AC_OUTPUT
|
39
projects/gnu.org/automake/package.yml
Normal file
39
projects/gnu.org/automake/package.yml
Normal file
|
@ -0,0 +1,39 @@
|
|||
distributable:
|
||||
url: http://ftp.gnu.org/gnu/automake/automake-{{ version }}.tar.xz
|
||||
strip-components: 1
|
||||
|
||||
#FIXME: need versions
|
||||
versions:
|
||||
- 1.16.5
|
||||
|
||||
provides:
|
||||
- bin/aclocal
|
||||
- bin/automake
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
gnu.org/autoconf: ^2.65.0
|
||||
perl.org: '*' #TODO `inherit`
|
||||
script: |-
|
||||
./configure \
|
||||
--build={{ hw.target }} \
|
||||
--prefix="{{ prefix }}"
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
|
||||
# TODO to prove automake doesn't require autoconf we should
|
||||
# use “depend” on the autoconf test to generate our `configure` separately
|
||||
test:
|
||||
dependencies:
|
||||
gnu.org/autoconf: ^2.65.0
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
cp ${{ pkg.pantry-prefix }}/* .
|
||||
aclocal
|
||||
automake --add-missing --foreign
|
||||
autoconf
|
||||
./configure
|
||||
make
|
||||
./test
|
3
projects/gnu.org/automake/test.c
Normal file
3
projects/gnu.org/automake/test.c
Normal file
|
@ -0,0 +1,3 @@
|
|||
int main() {
|
||||
return 0;
|
||||
}
|
23
projects/ijg.org/package.yml
Normal file
23
projects/ijg.org/package.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
#FIXME
|
||||
# libjpeg has archaic versioning and we need a mechanism to convert to
|
||||
# semantic versions with a `versions.ts` script
|
||||
|
||||
distributable:
|
||||
url: http://jpegclub.org/reference/wp-content/uploads/2022/01/jpegsrc.v9e.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
- 9.5.0
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |-
|
||||
./configure \
|
||||
--disable-dependency-tracking \
|
||||
--disable-silent-rules \
|
||||
--prefix="{{ prefix }}"
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
|
||||
test: true #FIXME
|
26
projects/unicode.org/package.yml
Normal file
26
projects/unicode.org/package.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
distributable:
|
||||
url: https://github.com/unicode-org/icu/releases/download/release-{{version.major}}-{{version.minor}}/icu4c-{{version.major}}_{{version.minor}}-src.tgz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
- 71.1.0
|
||||
#TODO ^^ unicode-org/icu but it's madness
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
working-directory: source
|
||||
script: |
|
||||
./configure $ARGS
|
||||
make --jobs {{ hw.concurrency }}
|
||||
make install
|
||||
env:
|
||||
ARGS:
|
||||
- --prefix={{prefix}}
|
||||
- --disable-samples
|
||||
- --disable-tests
|
||||
- --enable-static
|
||||
- --with-library-bits=64
|
||||
|
||||
test: true #FIXME
|
Loading…
Reference in a new issue