void-packages/srcpkgs/gammu/template

35 lines
913 B
Bash

# Template file for 'gammu'
pkgname=gammu
version=1.39.0
revision=1
build_style=cmake
hostmakedepends="pkg-config intltool bash-completion"
makedepends="libbluetooth-devel libusb-devel"
short_desc="Cell phone connectivity and management tool"
maintainer="Jakub Skrzypnik <jakub.skrzypnik@interia.pl>"
license="GPL-2"
homepage="https://wammu.eu"
distfiles="https://dl.cihar.com/gammu/releases/gammu-${version}.tar.bz2"
checksum="f20ca4e2367cd0beb33e49027e7e8e4b884ee9ed15d4a5353eb08e8bc269f8e2"
gammu-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/doc
}
}
gammu-smsd_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - SMS daemon"
pkg_install() {
vmove "usr/bin/gammu-smsd*"
vmove "usr/share/man/*/gammu-smsd*"
vmove "usr/lib/libgsmsd*"
}
}