20 lines
533 B
Plaintext
20 lines
533 B
Plaintext
# Description: Wrapper for Unix user and group functions
|
|
# URL: https://cwrap.org/uid_wrapper.html
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
# Depends on: cmake
|
|
|
|
name=uid_wrapper
|
|
version=1.2.8
|
|
release=1
|
|
source=(https://ftp.samba.org/pub/cwrap/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cmake -S $name-$version -B build \
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
-D CMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
DESTDIR=$PKG cmake --install build
|
|
}
|