27 lines
634 B
Plaintext
27 lines
634 B
Plaintext
# Description: Compute and apply signature-based file differences
|
|
# URL: http://librsync.sourceforge.net/
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
# Depends on: librsync
|
|
|
|
name=rdiff
|
|
version=2.2.1
|
|
release=1
|
|
source=(https://github.com/librsync/librsync/archive/v$version/librsync-v$version.tar.gz)
|
|
|
|
build() {
|
|
cd librsync-$version
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
cmake .. \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
make
|
|
|
|
install -D -m 755 rdiff $PKG/usr/bin/rdiff
|
|
install -D -m 644 ../doc/rdiff.1 $PKG/usr/share/man/man1/rdiff.1
|
|
}
|