void-packages/srcpkgs/silly/template

30 lines
809 B
Bash

# Template file for 'silly'
pkgname=silly
version=0.1.0
revision=2
wrksrc=${pkgname^^}-${version}
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libjpeg-turbo-devel libpng-devel"
short_desc="Simple image loading library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://sourceforge.net/projects/crayzedsgui/"
distfiles="${SOURCEFORGE_SITE}/project/crayzedsgui/${pkgname^^}/${version}/${pkgname^^}-${version}.tar.gz"
checksum=afa064f70433008ec9837fb601c8d73e73db07856e4566f8bee010758c5304ac
patch_args=-Np0
post_install() {
vlicense COPYING
}
silly-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
}
}