mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
parent
a14a8bdbe7
commit
a69051b0b9
1 changed files with 33 additions and 0 deletions
33
projects/apache.org/apr/package.yml
Normal file
33
projects/apache.org/apr/package.yml
Normal file
|
@ -0,0 +1,33 @@
|
|||
distributable:
|
||||
url: https://dlcdn.apache.org//apr/apr-{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
- 1.7.2
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
./configure $ARGS
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
env:
|
||||
# add any environment variables here
|
||||
ARGS:
|
||||
- --prefix="{{prefix}}"
|
||||
- --disable-debug
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
fixture: |
|
||||
#include <stdio.h>
|
||||
#include <apr-1/apr_version.h>
|
||||
int main() {
|
||||
printf("%s", apr_version_string());
|
||||
return 0;
|
||||
}
|
||||
script: |
|
||||
mv $FIXTURE b.c
|
||||
cc b.c -lapr-{{version.major}}
|
Loading…
Reference in a new issue