33 lines
812 B
Bash
33 lines
812 B
Bash
# Template file for 'libdill'
|
|
pkgname=libdill
|
|
version=2.8
|
|
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"
|
|
checksum=117038cd0f9bbfc51e6001a28ae6fd915b7c9047d8da7358208792d997037d6d
|
|
|
|
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"
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|