wok-next diff optipng/receipt @ rev 19940
udev: add -lrt in ldflags
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 15 18:25:43 2017 +0200 (2017-10-15) |
parents | 028634d82da8 |
children | 0e7893ac206d |
line diff
1.1 --- a/optipng/receipt Sat Jun 17 22:59:11 2017 +0300 1.2 +++ b/optipng/receipt Sun Oct 15 18:25:43 2017 +0200 1.3 @@ -24,9 +24,9 @@ 1.4 LDFLAGS='-static' \ 1.5 ./configure \ 1.6 -prefix=/usr \ 1.7 + -bindir=/usr/sbin \ 1.8 -with-system-libpng && 1.9 make && make install && 1.10 - mv -v $install/usr/bin/optipng $install/usr/bin/optipng-static && 1.11 1.12 # make dynamically linked binary 1.13 make clean && 1.14 @@ -41,13 +41,12 @@ 1.15 { 1.16 case $PACKAGE in 1.17 optipng) 1.18 - copy optipng 1.19 + copy bin/optipng 1.20 DEPENDS="libpng16 zlib" 1.21 ;; 1.22 optipng-static) 1.23 - copy optipng-static 1.24 - ln -s optipng-static $fs/usr/bin/optipng 1.25 - CAT="graphics|statically linked" 1.26 + copy sbin/optipng 1.27 + CAT="graphics|static binary" 1.28 PROVIDE="optipng" 1.29 DEPENDS=" " 1.30 ;;