2013-01-30 00:30:07 +01:00
|
|
|
# Template file for 'libnfs'
|
|
|
|
pkgname=libnfs
|
2013-11-26 09:38:19 +01:00
|
|
|
version=1.8.0
|
|
|
|
revision=1
|
|
|
|
wrksrc="${pkgname}-${pkgname}-${version}"
|
2013-01-30 00:30:07 +01:00
|
|
|
build_style=gnu-configure
|
2013-04-16 11:44:16 +02:00
|
|
|
hostmakedepends="libtool pkg-config automake"
|
2013-01-30 00:30:07 +01:00
|
|
|
short_desc="Client library for accessing NFS shares"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="https://github.com/sahlberg/libnfs"
|
|
|
|
license="GPL-2"
|
2013-11-26 09:38:19 +01:00
|
|
|
distfiles="https://github.com/sahlberg/libnfs/archive/$pkgname-${version}.tar.gz"
|
|
|
|
checksum=e4d766efba85e79b04c18038070506d0a9df5b7e0f08aa54ab402892cd1542cc
|
2013-01-30 00:30:07 +01:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libnfs-devel_package() {
|
2013-11-26 09:38:19 +01:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-11-26 09:38:19 +01:00
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libnfs_package() {
|
|
|
|
pkg_install() {
|
2013-11-26 09:38:19 +01:00
|
|
|
vmove all
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|