commit
ba9e2dfc16
|
@ -2159,3 +2159,5 @@ libmemcachedutil.so.2 libmemcached-1.0.18_1
|
|||
libc-client.so.1 c-client-2007f_1
|
||||
libonig.so.2 oniguruma-5.9.6_1
|
||||
liblo10k1.so.0 alsa-tools-1.0.29_1
|
||||
libgflags.so.2 gflags-2.1.2_1
|
||||
libgflags_nothreads.so.2 gflags-2.1.2_1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
gflags/
|
|
@ -1,8 +1,9 @@
|
|||
# Template file for 'gflags'
|
||||
pkgname=gflags
|
||||
version=2.1.2
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
configure_args=" -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON"
|
||||
hostmakedepends="cmake"
|
||||
short_desc="A C++ library that implements commandline flags processing"
|
||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||
|
@ -11,9 +12,20 @@ homepage="http://gflags.github.io/gflags"
|
|||
distfiles="https://github.com/gflags/gflags/archive/v${version}.tar.gz"
|
||||
checksum=d8331bd0f7367c8afd5fcb5f5e85e96868a00fd24b7276fa5fcee1e5575c2662
|
||||
|
||||
post_install(){
|
||||
post_install() {
|
||||
vlicense COPYING.txt
|
||||
vdoc ChangeLog.txt
|
||||
vdoc README.md
|
||||
}
|
||||
|
||||
gflags-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/cmake
|
||||
vmove usr/lib/*.a
|
||||
vmove usr/lib/*.so
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue