mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
87ca61ff64
commit
2a7cf32727
1 changed files with 3 additions and 18 deletions
|
@ -33,7 +33,6 @@ dependencies:
|
||||||
libpng.org: '*'
|
libpng.org: '*'
|
||||||
google.com/webp: '*'
|
google.com/webp: '*'
|
||||||
ijg.org: '*'
|
ijg.org: '*'
|
||||||
gnu.org/sed: ^4 # phpize requires this
|
|
||||||
darwin:
|
darwin:
|
||||||
sourceware.org/bzip2: '*'
|
sourceware.org/bzip2: '*'
|
||||||
zlib.net: '*'
|
zlib.net: '*'
|
||||||
|
@ -47,22 +46,9 @@ build:
|
||||||
linux:
|
linux:
|
||||||
gnu.org/make: '*'
|
gnu.org/make: '*'
|
||||||
|
|
||||||
script:
|
script: |
|
||||||
- ./configure $ARGS
|
./configure $ARGS
|
||||||
- make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
- run: |
|
|
||||||
sed -i.bak \
|
|
||||||
-e's|^prefix=.*|prefix="$(dirname "$(dirname "$0")")"|g' \
|
|
||||||
-e's|^datarootdir=.*|datarootdir="${prefix}/share"|g' \
|
|
||||||
-e's|^ini_path=.*|ini_path="${prefix}/etc"|g' \
|
|
||||||
-e's|^extension_dir='\''{{prefix}}\(.*\)'\''|extension_dir="${prefix}\1"|g' \
|
|
||||||
-e's|^SED=.*|SED="$(dirname "$(dirname "$(dirname "$(dirname "$0")")")")/gnu.org/sed/v4/bin/sed"|g' \
|
|
||||||
-e's|#{{prefix}}#|#$(dirname "$(dirname "$0")")#|g' \
|
|
||||||
-e's|{{pkgx.prefix}}|${prefix}/../..|g' \
|
|
||||||
php-config \
|
|
||||||
phpize
|
|
||||||
rm php-config.bak phpize.bak
|
|
||||||
working-directory: ${{prefix}}/bin
|
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
- --prefix={{prefix}}
|
- --prefix={{prefix}}
|
||||||
|
@ -86,7 +72,6 @@ build:
|
||||||
- --enable-sysvmsg
|
- --enable-sysvmsg
|
||||||
- --enable-sysvsem
|
- --enable-sysvsem
|
||||||
- --enable-sysvshm
|
- --enable-sysvshm
|
||||||
- --with-pear
|
|
||||||
- --with-curl
|
- --with-curl
|
||||||
- --with-external-pcre
|
- --with-external-pcre
|
||||||
- --with-ffi
|
- --with-ffi
|
||||||
|
|
Loading…
Reference in a new issue