2017-01-04 21:26:29 +01:00
|
|
|
# Template file for 'libdill'
|
|
|
|
pkgname=libdill
|
2017-04-19 14:11:17 +02:00
|
|
|
version=1.6
|
2017-01-04 21:26:29 +01:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="automake libtool"
|
|
|
|
short_desc="Structured concurrency library for C"
|
|
|
|
maintainer="Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="http://libdill.org/"
|
|
|
|
distfiles="https://github.com/sustrik/libdill/archive/${version}.tar.gz"
|
2017-04-19 14:11:17 +02:00
|
|
|
checksum=2539d3440971c876b117bc87295b0caabc8c8ec5f544856ca9e74ed12705ea51
|
2017-01-04 21:26:29 +01:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=?/}"
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
post_install() {
|
|
|
|
vlicense COPYING
|
|
|
|
}
|
|
|
|
|
|
|
|
libdill-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
}
|
|
|
|
}
|