Unverified Commit 61ec5527 authored by boklm's avatar boklm
Browse files

packages: separate ImageMagick from tbb-testsuite-deps

parent 5eb3927d
#!/bin/sh
set -e
rootdir=$(pwd)
mkdir -p /var/tmp/dist/ImageMagick
tar xf ImageMagick-[% c("version") %].tar.xz
cd ImageMagick-[% c("version") %]
./configure --enable-shared \
--disable-static \
--with-modules \
--without-perl \
--with-threads \
--prefix=/
make
make install DESTDIR=/var/tmp/dist/ImageMagick
cd /var/tmp/dist
[% c('tar', {
tar_src => [ 'ImageMagick' ],
tar_args => '-czf ' _ dest_dir _ '/' _ c('filename'),
}) %]
# vim: filetype=yaml sw=2
version: 7.0.3-4
filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.gz'
remote_docker: 1
var:
deps:
- build-essential
- libxml2-dev
- zlib1g-dev
- libltdl-dev
- liblcms2-dev
- libbz2-dev
- libjpeg-dev
- libpng-dev
targets:
native-osx-x86_64:
remote_docker: 0
input_files:
- project: docker-image
enable: '[% c("remote_docker") %]'
- URL: 'https://www.imagemagick.org/download/ImageMagick-[% c("version") %].tar.xz'
file_gpg_id: 1
sig_ext: asc
gpg_keyring: ImageMagick.gpg
......@@ -7,20 +7,6 @@ export PATH=/var/tmp/dist/perl/bin:$PATH
unset PERL5LIB PERL_LOCAL_LIB_ROOT PERL_MB_OPT PERL_MM_OPT
export PERL_MM_USE_DEFAULT=1
mkdir -p /var/tmp/dist/ImageMagick
tar xf ImageMagick-[% c("var/imagemagick_version") %].tar.xz
cd ImageMagick-[% c("var/imagemagick_version") %]
./configure --enable-shared \
--disable-static \
--with-modules \
--without-perl \
--with-threads \
--prefix=/
make
echo "Running make install"
make install DESTDIR=/var/tmp/dist/ImageMagick
cd ..
modules='
Data-Dump-1.23 File-Path-2.12 IO-1.25 LWP-Protocol-https-6.06
XML-LibXML-2.0128 DateTime-1.39 File-Slurp-9999.19 IO-CaptureOutput-1.1104
......@@ -62,6 +48,6 @@ done
cd /var/tmp/dist
[% c('tar', {
tar_src => [ 'perl', 'ImageMagick' ],
tar_src => [ 'perl' ],
tar_args => '-czf ' _ dest_dir _ '/' _ c('filename'),
}) %]
......@@ -17,8 +17,6 @@ var:
- libjpeg-dev
- libpng-dev
imagemagick_version: 7.0.3-4
targets:
native-osx-x86_64:
remote_docker: 0
......@@ -30,11 +28,6 @@ input_files:
- project: perl
name: perl
- URL: 'https://www.imagemagick.org/download/ImageMagick-[% c("var/imagemagick_version") %].tar.xz'
file_gpg_id: 1
sig_ext: asc
gpg_keyring: ImageMagick.gpg
- URL: https://cpan.metacpan.org/authors/id/G/GA/GAAS/Data-Dump-1.23.tar.gz
sha256sum: af53b05ef1387b4cab4427e6789179283e4f0da8cf036e8db516ddb344512b65
......
......@@ -7,6 +7,7 @@ cd [% project %]-[% c("version") %]
mkdir bundle
cd bundle
tar xf $rootdir/[% c("input_files_by_name/tbb-testsuite-deps") %]
tar xf $rootdir/[% c("input_files_by_name/ImageMagick") %]
cat > set-env << 'EOF'
function abs_dir() {
......
......@@ -7,3 +7,5 @@ filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/buil
input_files:
- project: tbb-testsuite-deps
name: tbb-testsuite-deps
- project: ImageMagick
name: ImageMagick
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment