void-packages/srcpkgs/libSM/template

26 lines
695 B
Bash

# Template build file for 'libSM'.
pkgname=libSM
version=1.2.2
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libuuid-devel libICE-devel"
short_desc="X Session Management Library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://xorg.freedesktop.org/"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=0baca8c9f5d934450a70896c4ad38d06475521255ca63b717a6510fdb6e287bd
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
}
}