void-packages/srcpkgs/libSM/template

30 lines
733 B
Bash

# Template file for 'libSM'
pkgname=libSM
version=1.2.4
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libuuid-devel libICE-devel"
short_desc="X Session Management Library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://xorg.freedesktop.org/"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.xz"
checksum=fdcbe51e4d1276b1183da77a8a4e74a137ca203e0bcfb20972dd5f3347e97b84
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
}
}