2006-05-14 10:59:29 +00:00
|
|
|
# Description: Library for delta compression of streams
|
|
|
|
# URL: http://librsync.sourceforge.net/
|
2009-09-19 00:59:49 +02:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2020-02-07 23:56:11 +11:00
|
|
|
# Depends on: popt cmake
|
2006-05-14 10:59:29 +00:00
|
|
|
|
|
|
|
name=librsync
|
2020-02-07 23:56:11 +11:00
|
|
|
version=2.2.1
|
|
|
|
release=1
|
|
|
|
source=(https://github.com/$name/$name/archive/v$version/$name-v$version.tar.gz)
|
2006-05-14 10:59:29 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
2020-02-07 23:56:11 +11:00
|
|
|
mkdir build
|
|
|
|
cd build
|
2007-07-26 21:57:55 +02:00
|
|
|
|
2020-02-07 23:56:11 +11:00
|
|
|
cmake .. \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release
|
2017-08-20 23:19:24 +02:00
|
|
|
|
2006-05-14 10:59:29 +00:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2017-08-20 23:19:24 +02:00
|
|
|
rm -r $PKG/usr/share/man/man1
|
2006-05-14 10:59:29 +00:00
|
|
|
rm -r $PKG/usr/bin
|
|
|
|
}
|