diff options
Diffstat (limited to 'socket_wrapper/Pkgfile')
-rw-r--r-- | socket_wrapper/Pkgfile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/socket_wrapper/Pkgfile b/socket_wrapper/Pkgfile new file mode 100644 index 000000000..90c7834ad --- /dev/null +++ b/socket_wrapper/Pkgfile @@ -0,0 +1,22 @@ +# Description: Wrapper for network functions +# URL: https://cwrap.org/socket_wrapper.html +# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve +# Depends on: + +name=socket_wrapper +version=1.1.3 +release=1 +source=(https://ftp.samba.org/pub/cwrap/$name-$version.tar.gz) + +build() { + + mkdir build; cd build + + cmake ../$name-$version \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DMAN_INSTALL_DIR=/usr/man + + make + make DESTDIR=$PKG install +} |