23 lines
532 B
Plaintext
23 lines
532 B
Plaintext
# 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
|
|
version=2.3.4
|
|
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
|
|
}
|