void-packages/srcpkgs/libglob/template

27 lines
766 B
Bash
Raw Normal View History

2015-12-17 07:08:27 +00:00
# Template file for 'libglob'
pkgname=libglob
version=1.0
revision=1
build_style=gnu-makefile
only_for_archs="aarch64-musl armv6l-musl armv7l-musl i686-musl mips-musl mipsel-musl mipselhf-musl x86_64-musl"
short_desc="BSD glob(3) implementation for the musl C library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="3-clause-BSD"
homepage="http://github.com/voidlinux/libglob"
distfiles="https://github.com/voidlinux/${pkgname}/archive/${version}.tar.gz"
checksum=4f1b204dad065689941c64828a92441fb316c9c7539b39525fa728125da65e22
post_install() {
vlicense LICENSE
}
libglob-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}