oath-toolkit: create a -devel subpkg for development files.

This commit is contained in:
Juan RP 2015-07-17 08:15:52 +02:00
parent ca09e09d96
commit 87377a9350
3 changed files with 16 additions and 1 deletions

View File

@ -2083,3 +2083,4 @@ libhiredis.so.0.13 hiredis-0.13.1_1
libIL.so.1 devil-1.7.8_1
libILU.so.1 devil-1.7.8_1
libILUT.so.1 devil-1.7.8_1
liboath.so.0 oath-toolkit-2.6.0_2

1
srcpkgs/oath-toolkit-devel Symbolic link
View File

@ -0,0 +1 @@
oath-toolkit

View File

@ -1,7 +1,7 @@
# Template file for 'oath-toolkit'
pkgname=oath-toolkit
version=2.6.0
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
short_desc="OATH one-time password toolkit"
@ -10,3 +10,16 @@ license="GPL-3"
homepage="http://www.nongnu.org/oath-toolkit/"
distfiles="http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=2346cb8a2fc75ea56934cb9867463001665772308f2d9e7fe487159d38960926
oath-toolkit-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/share/man/man3
vmove usr/share/gtk-doc
}
}