void-packages/srcpkgs/libSM/template

30 lines
737 B
Bash

# Template file for 'libSM'
pkgname=libSM
version=1.2.3
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libuuid-devel libICE-devel"
short_desc="X Session Management Library"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="http://xorg.freedesktop.org/"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=2d264499dcb05f56438dee12a1b4b71d76736ce7ba7aa6efbf15ebb113769cbb
post_install() {
vlicense COPYING
}
libSM-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/doc
}
}