Skip to content

Commit

Permalink
Update unypkg-imagemagick-build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
michacassola committed Jun 2, 2024
1 parent e85b3ab commit 5cab331
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions unypkg-imagemagick-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set -vx
wget -qO- uny.nu/pkg | bash -s buildsys

### Installing build dependencies
unyp install libpng libjpeg-turbo libtiff libwebp freetype libxml2
unyp install curl libpng libjpeg-turbo libtiff libwebp freetype libxml2

#pip3_bin=(/uny/pkg/python/*/bin/pip3)
#"${pip3_bin[0]}" install --upgrade pip
Expand Down Expand Up @@ -75,18 +75,12 @@ get_include_paths
####################################################
### Start of individual build script
for dir in /uny/pkg/*/*/lib; do
cat >/etc/ld.so.conf.d/"$(echo "$dir.conf" | sed -e "s|/uny/pkg/||" -e "s|/lib||" -e "s|/|-|")" <<EOFDIR
$dir
EOFDIR
done
ldconfig -v
#unset LD_RUN_PATH
LDFLAGS="$LDFLAGS $(for libdir in /uny/pkg/*/*/lib; do echo -n "-L$libdir "; done)"
automake
autoconf
LDFLAGS="$(for libdir in /uny/pkg/*/*/lib; do echo -n "-L$libdir "; done) $LDFLAGS"
export LDFLAGS
[[ ! -L /usr/lib ]] && ln -vs /uny/pkg/glibc/2.39/lib /usr/lib
./configure \
--prefix=/uny/pkg/"$pkgname"/"$pkgver" \
Expand Down

0 comments on commit 5cab331

Please sign in to comment.