void-packages/srcpkgs/attr/template

40 lines
983 B
Bash
Raw Normal View History

# Template file for 'attr'
pkgname=attr
2013-06-06 23:22:10 +02:00
version=2.4.47
2014-10-12 12:39:44 +02:00
revision=4
bootstrap=yes
build_style=gnu-configure
2012-01-30 17:12:21 +01:00
configure_args="--libdir=/usr/lib --libexecdir=/usr/lib"
short_desc="Extended attribute support library for ACL support"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2011-06-19 14:31:25 +02:00
homepage="http://savannah.nongnu.org/projects/attr"
license="LGPL-2.1"
distfiles="${NONGNU_SITE}/attr/attr-${version}.src.tar.gz"
2013-06-06 23:22:10 +02:00
checksum=25772f653ac5b2e3ceeb89df50e4688891e21f723c460636548971652af0a859
do_install() {
make DIST_ROOT=${DESTDIR} install install-lib install-dev
}
attr-devel_package() {
depends="attr>=${version}_${revision}"
2013-06-06 23:22:10 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/man/man2
vmove usr/share/man/man3
vmove usr/share/man/man5
vmove usr/share/doc
}
}
attr-progs_package() {
2013-06-06 23:22:10 +02:00
short_desc+=" - utilities"
pkg_install() {
vmove usr/bin
vmove usr/share/man/man1
vmove usr/share/locale
}
}