new package: libdill (#5456)
This commit is contained in:
parent
52b5b00dc6
commit
10d28a0aea
2 changed files with 32 additions and 0 deletions
1
srcpkgs/libdill-devel
Symbolic link
1
srcpkgs/libdill-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
libdill
|
31
srcpkgs/libdill/template
Normal file
31
srcpkgs/libdill/template
Normal file
|
@ -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…
Add table
Add a link
Reference in a new issue