30 lines
847 B
Bash
30 lines
847 B
Bash
# Template file for 'libsmi'
|
|
pkgname=libsmi
|
|
version=0.5.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="WGET=/usr/bin/wget"
|
|
hostmakedepends=""
|
|
makedepends=""
|
|
depends=""
|
|
short_desc="Library to Access SMI MIB Information"
|
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
|
license="TCL, BSD-3-Clause, Beerware"
|
|
homepage="https://www.ibr.cs.tu-bs.de/projects/libsmi/"
|
|
distfiles="https://www.ibr.cs.tu-bs.de/projects/libsmi/download/libsmi-${version}.tar.gz"
|
|
checksum=f21accdadb1bb328ea3f8a13fc34d715baac6e2db66065898346322c725754d3
|
|
CFLAGS=-D_DEFAULT_SOURCE
|
|
|
|
libsmi-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/share/aclocal
|
|
vmove usr/share/man/man3
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|