2023-02-17 15:04:16 -05:00
|
|
|
# Description: remote delta-compression library
|
|
|
|
# URL: https://github.com/librsync/librsync
|
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
|
|
# Depends on: zlib popt
|
|
|
|
|
|
|
|
name=librsync
|
2023-06-10 09:05:45 -04:00
|
|
|
version=2.3.4
|
2023-02-17 15:04:16 -05:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/$name/$name/releases/download/v$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
mkdir build && cd build
|
|
|
|
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_C_FLAGS="$CFLAGS" \
|
|
|
|
../$name-$version
|
|
|
|
|
|
|
|
cmake --build .
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|