Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

wget 1.19.2 build script #521

Merged
merged 5 commits into from
Dec 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions scripts/wget/1.19.2/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: generic

matrix:
include:
- os: osx
osx_image: xcode8
compiler: clang
- os: linux
compiler: clang
sudo: false
addons:
apt:
sources: [ 'ubuntu-toolchain-r-test' ]
packages: [ 'libstdc++-4.9-dev', 'libssl-dev' ]

script:
- ./mason build ${MASON_NAME} ${MASON_VERSION}
- ./mason publish ${MASON_NAME} ${MASON_VERSION}
43 changes: 43 additions & 0 deletions scripts/wget/1.19.2/script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/usr/bin/env bash

MASON_NAME=wget
MASON_VERSION=1.19.2
MASON_LIB_FILE=bin/wget

. ${MASON_DIR}/mason.sh

function mason_load_source {
mason_download \
http://ftp.gnu.org/gnu/${MASON_NAME}/${MASON_NAME}-${MASON_VERSION}.tar.gz \
07a689125eaf3b050cd62fcb98662eeddc4982db

mason_extract_tar_gz

export MASON_BUILD_PATH=${MASON_ROOT}/.build/${MASON_NAME}-${MASON_VERSION}
}

function mason_compile {
./configure \
--prefix ${MASON_PREFIX} \
--with-included-libunistring \
--with-ssl=openssl \
--without-libuuid \
--with-openssl

make -j${MASON_CONCURRENCY}
make install
}

function mason_cflags {
:
}

function mason_ldflags {
:
}

function mason_clean {
make clean
}

mason_run "$@"