void-packages/srcpkgs/attr/template

44 lines
1,011 B
Text

# Template file for 'attr'
pkgname=attr
version=2.4.46
revision=7
build_style=gnu-configure
configure_args="--libdir=/usr/lib --libexecdir=/usr/lib"
short_desc="Extended attribute support library for ACL support"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://savannah.nongnu.org/projects/attr"
license="LGPL-2.1"
distfiles="${NONGNU_SITE}/attr/attr-${version}.src.tar.gz"
checksum=dcd69bdca7ff166bc45141eddbcf21967999a6b66b0544be12a1cc2fd6340e1f
do_install() {
make DIST_ROOT=${DESTDIR} install install-lib install-dev
}
attr-devel_package() {
depends="attr>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.*a"
vmove usr/share/man/man2
vmove usr/share/man/man3
vmove usr/share/man/man5
vmove usr/share/doc
}
}
attr-progs_package() {
short_desc="${short_desc} -- utilities"
pkg_install() {
vmove usr/bin
vmove usr/share/man/man1
vmove usr/share/locale
}
}
attr_package() {
pkg_install() {
vmove usr
}
}