void-packages/srcpkgs/libbsd/template

35 lines
960 B
Text
Raw Normal View History

2013-03-21 11:07:33 +00:00
# Template file for 'libbsd'
pkgname=libbsd
2013-08-18 08:07:57 +00:00
version=0.6.0
2013-03-21 11:07:33 +00:00
revision=1
build_style=gnu-configure
short_desc="Provides useful functions commonly found on BSD system"
maintainer="Juan RP <xtraeme@gmail.com>"
2013-08-18 08:07:57 +00:00
homepage="http://libbsd.freedesktop.org/"
2013-03-21 11:07:33 +00:00
license="BSD"
2013-08-18 08:07:57 +00:00
distfiles="http://libbsd.freedesktop.org/releases/libbsd-${version}.tar.xz"
checksum=9e8f34ffa9c8579c87965a55a82d8ac37a1dc64858f717b7c49452ade277cc62
2013-03-21 11:07:33 +00:00
long_desc="
This library provides useful functions commonly found on BSD systems, and
lacking on others like GNU systems, thus making it easier to port projects
with strong BSD origins, without needing to embed the same code over and
over again on each project."
libbsd-devel_package() {
depends="${sourcepkg}>=${version}"
2013-08-18 08:07:57 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
2013-08-18 08:07:57 +00:00
vmove "usr/lib/*.so"
vmove usr/share
}
}
libbsd_package() {
pkg_install() {
vmove usr
}
}