2021-12-13 12:18:21 +01:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 16:26:10 +01:00
|
|
|
# Description: One way sync over http
|
2021-12-13 12:18:21 +01:00
|
|
|
# URL: https://github.com/winkj/httpup
|
|
|
|
# Depends on: curl
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=httpup
|
2019-04-06 19:16:41 +02:00
|
|
|
version=0.5.0
|
2017-07-10 19:06:43 +02:00
|
|
|
release=1
|
2017-07-10 19:08:31 +02:00
|
|
|
source=(https://crux.nu/files/$name-$version.tar.xz httpup)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
2022-05-22 17:27:22 +02:00
|
|
|
export CPPFLAGS="-Wno-error=mismatched-new-delete"
|
2021-12-13 12:18:21 +01:00
|
|
|
cd $name-$version
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG prefix=/usr mandir=/usr/share/man install
|
|
|
|
install -D -m 755 $SRC/httpup $PKG/etc/ports/drivers/httpup
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|