commit 11303f4210c74a7e375ca2d62fc8a0036d627146 Author: Danny Rawlins <contact@romster.me> Date: Sun Oct 31 12:21:49 2021 +1100 gflags: initial import diff --git a/gflags/.footprint b/gflags/.footprint new file mode 100644 index 000000000..4464e3106 --- /dev/null +++ b/gflags/.footprint @@ -0,0 +1,28 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/gflags_completions.sh +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/gflags/ +-rw-r--r-- root/root usr/include/gflags/gflags.h +-rw-r--r-- root/root usr/include/gflags/gflags_completions.h +-rw-r--r-- root/root usr/include/gflags/gflags_declare.h +-rw-r--r-- root/root usr/include/gflags/gflags_gflags.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/cmake/ +drwxr-xr-x root/root usr/lib/cmake/gflags/ +-rw-r--r-- root/root usr/lib/cmake/gflags/gflags-config-version.cmake +-rw-r--r-- root/root usr/lib/cmake/gflags/gflags-config.cmake +-rw-r--r-- root/root usr/lib/cmake/gflags/gflags-nonamespace-targets-release.cmake +-rw-r--r-- root/root usr/lib/cmake/gflags/gflags-nonamespace-targets.cmake +-rw-r--r-- root/root usr/lib/cmake/gflags/gflags-targets-release.cmake +-rw-r--r-- root/root usr/lib/cmake/gflags/gflags-targets.cmake +-rw-r--r-- root/root usr/lib/libgflags.a +lrwxrwxrwx root/root usr/lib/libgflags.so -> libgflags.so.2.2 +lrwxrwxrwx root/root usr/lib/libgflags.so.2.2 -> libgflags.so.2.2.2 +-rwxr-xr-x root/root usr/lib/libgflags.so.2.2.2 +-rw-r--r-- root/root usr/lib/libgflags_nothreads.a +lrwxrwxrwx root/root usr/lib/libgflags_nothreads.so -> libgflags_nothreads.so.2.2 +lrwxrwxrwx root/root usr/lib/libgflags_nothreads.so.2.2 -> libgflags_nothreads.so.2.2.2 +-rwxr-xr-x root/root usr/lib/libgflags_nothreads.so.2.2.2 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/gflags.pc diff --git a/gflags/.signature b/gflags/.signature new file mode 100644 index 000000000..c8c5053c4 --- /dev/null +++ b/gflags/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3wc8eEx2gsRJpPo+1Qpf+mBh1YcXTbLXUVQeWlsr99x1AWpyqx0GBWSlyP47U0u6AJ0leTT3m2GOsFsjfJLWGAU= +SHA256 (Pkgfile) = d7e6aa796c1ba7be32afc72c0640ea27fe181f7c5175d04cbbeadd545545476c +SHA256 (.footprint) = 23da4ceea99ad7d6724c902dd42436768b68675e591c9a436b8ff485a2b181cb +SHA256 (gflags-2.2.2.tar.gz) = 34af2f15cf7367513b352bdcd2493ab14ce43692d2dcd9dfc499492966c64dcf diff --git a/gflags/Pkgfile b/gflags/Pkgfile new file mode 100644 index 000000000..3a9e6aa90 --- /dev/null +++ b/gflags/Pkgfile @@ -0,0 +1,24 @@ +# Description: C++ Library for commandline flag processing +# URL: https://github.com/schuhschuh/gflags +# Maintainer: Danny Rawlins, crux at romster dot me +# Depends on: cmake ninja + +name=gflags +version=2.2.2 +release=1 +source=(https://github.com/schuhschuh/gflags/archive/v$version/$name-$version.tar.gz) + +build() { + cmake -S $name-$version -B build -G Ninja \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \ + -D REGISTER_INSTALL_PREFIX=OFF \ + -D BUILD_SHARED_LIBS=ON \ + -D BUILD_STATIC_LIBS=ON \ + -D BUILD_TESTING=ON \ + -Wno-dev + + cmake --build build + DESTDIR=$PKG cmake --install build +}