Added rsync
This commit is contained in:
parent
9342ff839d
commit
754ee5d0a9
1 changed files with 30 additions and 0 deletions
30
pkgs/rsync/build.sh
Normal file
30
pkgs/rsync/build.sh
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
pkgname=rsync
|
||||||
|
pkgver=3.2.3
|
||||||
|
|
||||||
|
fetch() {
|
||||||
|
curl "https://download.samba.org/pub/rsync/src/rsync-3.2.3.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||||
|
tar -xf $pkgname-$pkgver.tar.xz
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--build=x86_64-unknown-linux-musl \
|
||||||
|
--host=x86_64-unknown-linux-musl \
|
||||||
|
--disable-xxhash \
|
||||||
|
--disable-zstd \
|
||||||
|
--disable-lz4
|
||||||
|
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
make install DESTDIR=$pkgdir
|
||||||
|
}
|
||||||
|
|
||||||
|
license() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cat COPYING
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue