opt/rdiff/Pkgfile

22 lines
643 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Compute and apply signature-based file differences
2020-07-10 15:18:30 +02: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 16:26:10 +01:00
name=rdiff
2020-07-10 15:18:30 +02:00
version=2.3.1
2020-02-07 14:04:56 +01:00
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() {
2020-07-10 15:18:30 +02:00
cmake -Slibrsync-$version -Bbuild \
2020-02-07 14:04:56 +01:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release
2020-07-10 15:18:30 +02:00
cmake --build build
2006-09-30 12:50:48 +02:00
2020-07-10 15:18:30 +02: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 16:26:10 +01:00
}