void-packages/srcpkgs/simple-obfs/template

27 lines
873 B
Bash
Raw Normal View History

2018-12-28 03:12:00 +01:00
# Template file for 'simple-obfs'
pkgname=simple-obfs
version=0.0.5
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config asciidoc xmlto"
makedepends="libev-devel"
short_desc="Simple obfusacting tool designed as plugin server of shadowsocks"
maintainer="whoami <whoami@systemli.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/shadowsocks/simple-obfs"
distfiles="${homepage}/archive/v${version}.tar.gz
https://github.com/shadowsocks/libcork/archive/f02984545061c924808e4b9ea7cc6749a41f1979.tar.gz"
checksum="0de9b551b67ec82d0af9d09bcb74c9e8d047f0082ae07db8e4f5f3defeb2ce4c
0f1ede7bd23672718d1d10adbe9e4028515d029585b93092d7199e51a40b3fe4"
patch_args="-Np1"
_version_libcork=f02984545061c924808e4b9ea7cc6749a41f1979
post_extract() {
rmdir libcork
mv ../libcork-${_version_libcork} libcork
}
pre_configure() {
autoreconf -fi
}