Unverified Commit dee028a9 authored by boklm's avatar boklm
Browse files

Add projects/libevent

parent 9d21ed89
#!/bin/sh
set -e
rootdir=$(pwd)
[% pc(c('var/compiler'), 'var/setup', { compiler_tarfile => c('input_files_by_name/' _ c('var/compiler')) }) %]
distdir=/var/tmp/dist/[% project %]
mkdir -p /var/tmp/build
tar -C /var/tmp/build -xf [% project %]-[% c('version') %].tar.gz
cd /var/tmp/build/[% project %]-[% c('version') %]
./autogen.sh
./configure --disable-static [% c("var/configure_opt") %] --prefix=$distdir
make -j4
make install
cd /var/tmp/dist
[% c('tar', {
tar_src => [ project ],
tar_args => '-czf ' _ dest_dir _ '/' _ c('filename'),
}) %]
# vim: filetype=yaml sw=2
version: 2.0.22
git_url: https://github.com/libevent/libevent.git
git_hash: 'release-[% c("version") %]-stable'
tag_gpg_id: 1
gpg_keyring: libevent.gpg
filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz'
remote_docker: 1
var:
deps:
- build-essential
- automake
- libtool
targets:
linux-i686:
var:
arch_deps:
- libc6-dev-i386
input_files:
- project: docker-image
- name: '[% c("var/compiler") %]'
project: '[% c("var/compiler") %]'
Supports Markdown
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