blob: 9529a8587562e1ac0dc984b5460c616868aca60a (
plain)
1 # Description: Library for delta compression of streams
2 # URL: http://librsync.sourceforge.net/
3 # Maintainer: Thomas Penteker, tek at serverop dot de
4 # Depends on: popt cmake
5
6 name=librsync
7 version=2.3.1
8 release=1
9 source=(https://github.com/$name/$name/archive/v$version/$name-v$version.tar.gz)
10
11 build() {
12 cmake -S $name-$version -B build \
13 -D CMAKE_BUILD_TYPE=Release \
14 -D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
15 -D CMAKE_INSTALL_PREFIX=/usr \
16 -D CMAKE_INSTALL_LIBDIR=lib \
17
18 cmake --build build
19 DESTDIR=$PKG cmake --install build
20
21 rm -r $PKG/usr/share/man/man1
22 rm -r $PKG/usr/bin
23 }
|