new package: libdill (#5456)
This commit is contained in:
parent
52b5b00dc6
commit
10d28a0aea
|
@ -0,0 +1 @@
|
|||
libdill
|
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'libdill'
|
||||
pkgname=libdill
|
||||
version=1.1
|
||||
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=f1e933ca4d05840dae3f854bc514b2b4ea6756d2d3bbcca681081e98aed6d01a
|
||||
|
||||
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
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue