New package: libvpd-2.2.6

This commit is contained in:
q66 2019-04-12 20:10:05 +02:00 committed by maxice8
parent 6567865a1e
commit e409670e63
3 changed files with 34 additions and 0 deletions

View File

@ -3440,3 +3440,5 @@ libbitcoin-database.so.0 libbitcoin-database-3.5.0_1
libbitcoin-blockchain.so.0 libbitcoin-blockchain-3.5.0_1
libbitcoin-node.so.0 libbitcoin-node-3.5.0_1
libbitcoin-server.so.0 libbitcoin-server-3.5.0_1
libvpd-2.2.so.2 libvpd-2.2.6_1
libvpd_cxx-2.2.so.2 libvpd-2.2.6_1

1
srcpkgs/libvpd-devel Symbolic link
View File

@ -0,0 +1 @@
libvpd

31
srcpkgs/libvpd/template Normal file
View File

@ -0,0 +1,31 @@
# Template file for 'libvpd'
pkgname=libvpd
version=2.2.6
revision=1
archs="ppc64*"
build_style=gnu-configure
hostmakedepends="automake libtool"
makedepends="sg3_utils-devel sqlite-devel zlib-devel"
short_desc="VPD Database access library"
maintainer="q66 <daniel@octaforge.org>"
license="LGPL-2.1-or-later"
homepage="https://sourceforge.net/projects/linux-diag"
distfiles="${SOURCEFORGE_SITE}/linux-diag/${pkgname}-${version}.tar.gz"
checksum=fe093777dc83409c9b6e41862deeb474a06dcd45a6f90ac70e113a2a21a4dc3c
pre_configure() {
# fix incorrect udev rule path, pass lint
sed -i 's,${sysconfdir}/udev,${libdir}/udev,g' Makefile.am
./bootstrap.sh
}
libvpd-devel_package() {
depends="${sourcepkg}>=${version}_${revision} sqlite-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}