void-packages/srcpkgs/parted/template

31 lines
846 B
Bash

# Template file for 'parted'
pkgname=parted
version=3.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libuuid-devel libblkid-devel ncurses-devel readline-devel device-mapper-devel"
short_desc="The GNU Parted disk partition resizing program"
homepage="http://www.gnu.org/software/parted/"
license="GPL-3"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="http://ftp.gnu.org/gnu/parted/parted-$version.tar.xz"
checksum=858b589c22297cacdf437f3baff6f04b333087521ab274f7ab677cb8c6bb78e4
libparted_package() {
short_desc+=" - shared library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libparted-devel_package() {
depends="libparted>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}