mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
beafd62319
commit
235ccd31b5
1 changed files with 16 additions and 8 deletions
|
@ -8,7 +8,6 @@ versions:
|
||||||
provides:
|
provides:
|
||||||
darwin:
|
darwin:
|
||||||
- bin/cal
|
- bin/cal
|
||||||
- bin/col
|
|
||||||
- bin/colcrt
|
- bin/colcrt
|
||||||
- bin/colrm
|
- bin/colrm
|
||||||
- bin/column
|
- bin/column
|
||||||
|
@ -27,8 +26,6 @@ provides:
|
||||||
- bin/rev
|
- bin/rev
|
||||||
- bin/scriptreplay
|
- bin/scriptreplay
|
||||||
- bin/setsid
|
- bin/setsid
|
||||||
- bin/uuidgen
|
|
||||||
- bin/uuidparse
|
|
||||||
- bin/wall
|
- bin/wall
|
||||||
- bin/whereis
|
- bin/whereis
|
||||||
linux:
|
linux:
|
||||||
|
@ -99,6 +96,7 @@ provides:
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
gnu.org/gettext: ^0
|
gnu.org/gettext: ^0
|
||||||
|
sqlite.org: ^3
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -106,6 +104,8 @@ build:
|
||||||
freedesktop.org/pkg-config: '*'
|
freedesktop.org/pkg-config: '*'
|
||||||
gnu.org/patch: '*'
|
gnu.org/patch: '*'
|
||||||
crates.io/semverator: '*'
|
crates.io/semverator: '*'
|
||||||
|
linux:
|
||||||
|
linux-pam.org: '*'
|
||||||
script:
|
script:
|
||||||
# thanks to MacPorts
|
# thanks to MacPorts
|
||||||
- |
|
- |
|
||||||
|
@ -125,25 +125,33 @@ build:
|
||||||
- |
|
- |
|
||||||
cd "{{prefix}}/include"
|
cd "{{prefix}}/include"
|
||||||
for x in $HEADERS; do
|
for x in $HEADERS; do
|
||||||
mv "$x/$x.h" .
|
if test -f "$x/$x.h"; then
|
||||||
ln -s "../$x.h" "$x/"
|
mv "$x/$x.h" .
|
||||||
|
ln -s "../$x.h" "$x/"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
- --prefix={{prefix}}
|
- --prefix={{prefix}}
|
||||||
- --disable-makeinstall-chown
|
- --disable-makeinstall-chown
|
||||||
- --disable-makeinstall-setuid
|
- --disable-makeinstall-setuid
|
||||||
|
- --disable-liblastlog2 # appears not to compile in 2.40
|
||||||
HEADERS:
|
HEADERS:
|
||||||
- blkid
|
- blkid
|
||||||
- libfdisk
|
- libfdisk
|
||||||
- libsmartcols
|
- libsmartcols
|
||||||
- uuid
|
- uuid
|
||||||
|
darwin:
|
||||||
|
ARGS:
|
||||||
|
- --disable-pam-lastlog2
|
||||||
|
- --disable-libuuid # error: aliases are not supported on darwin
|
||||||
linux:
|
linux:
|
||||||
HEADERS:
|
HEADERS:
|
||||||
- libmount
|
- libmount
|
||||||
|
# undefined symbol errors in newer llvms prevent building shared libs
|
||||||
|
CFLAGS: $CFLAGS -Wl,--undefined-version
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
stedolan.github.io/jq: '*'
|
stedolan.github.io/jq: '*'
|
||||||
script:
|
script: test "$(echo 5 6 7 | column -tJN first,second,third | jq .table[0].second)" = '"6"'
|
||||||
test "$(echo 5 6 7 | column -tJN first,second,third | jq .table[0].second)" = '"6"'
|
|
||||||
|
|
Loading…
Reference in a new issue