void-packages/srcpkgs/libglob/template
2017-11-24 10:11:23 +01:00

26 lines
779 B
Bash

# 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 mipshf-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="https://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
}
}