opt/rdiff/Pkgfile

27 lines
634 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Compute and apply signature-based file differences
2009-09-19 01:08:11 +02:00
# URL: http://librsync.sourceforge.net/
# Maintainer: Thomas Penteker, tek at serverop dot de
# Depends on: librsync
2006-02-23 16:26:10 +01:00
name=rdiff
2020-02-07 14:04:56 +01:00
version=2.2.1
release=1
source=(https://github.com/librsync/librsync/archive/v$version/librsync-v$version.tar.gz)
2006-02-23 16:26:10 +01:00
build() {
cd librsync-$version
2006-09-30 12:50:48 +02:00
2020-02-07 14:04:56 +01:00
mkdir build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release
2006-02-23 16:26:10 +01:00
make
2006-09-30 12:50:48 +02:00
install -D -m 755 rdiff $PKG/usr/bin/rdiff
2020-02-07 14:04:56 +01:00
install -D -m 644 ../doc/rdiff.1 $PKG/usr/share/man/man1/rdiff.1
2006-02-23 16:26:10 +01:00
}