2006-02-23 15:26:10 +00:00
|
|
|
# Description: Compute and apply signature-based file differences
|
2020-07-10 23:18:30 +10:00
|
|
|
# URL: https://github.com/librsync/librsync
|
2009-09-19 01:08:11 +02:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
|
|
# Depends on: librsync
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=rdiff
|
2020-07-10 23:18:30 +10:00
|
|
|
version=2.3.1
|
2020-02-08 00:04:56 +11:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/librsync/librsync/archive/v$version/librsync-v$version.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
2020-11-20 13:24:29 +01:00
|
|
|
cmake -S librsync-$version -B build \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
2020-11-22 11:30:07 +01:00
|
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
2020-11-20 13:24:29 +01:00
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_INSTALL_LIBDIR=lib \
|
2007-07-26 21:57:55 +02:00
|
|
|
|
2020-07-10 23:18:30 +10:00
|
|
|
cmake --build build
|
2006-09-30 10:50:48 +00:00
|
|
|
|
2020-07-10 23:18:30 +10:00
|
|
|
install -D -m 755 build/rdiff $PKG/usr/bin/rdiff
|
|
|
|
install -D -m 644 librsync-$version/doc/rdiff.1 $PKG/usr/share/man/man1/rdiff.1
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|