iodine: merge -server subpkg; move to usr/bin.
This commit is contained in:
parent
3c28fa4bf9
commit
3fe23b548e
2 changed files with 7 additions and 10 deletions
|
@ -1 +0,0 @@
|
||||||
iodine
|
|
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'iodine'
|
# Template file for 'iodine'
|
||||||
pkgname=iodine
|
pkgname=iodine
|
||||||
version=0.7.0
|
version=0.7.0
|
||||||
revision=2
|
revision=3
|
||||||
|
replaces="iodine-server>=0"
|
||||||
homepage="http://code.kryo.se/iodine/"
|
homepage="http://code.kryo.se/iodine/"
|
||||||
distfiles="http://code.kryo.se/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="http://code.kryo.se/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
makedepends="zlib-devel"
|
makedepends="zlib-devel"
|
||||||
|
@ -9,13 +10,10 @@ short_desc="iodine lets you tunnel IPv4 data through a DNS server"
|
||||||
maintainer="Enno Boland <eb@s01.de>"
|
maintainer="Enno Boland <eb@s01.de>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
checksum=ad2b40acf1421316ec15800dcde0f587ab31d7d6f891fa8b9967c4ded93c013e
|
checksum=ad2b40acf1421316ec15800dcde0f587ab31d7d6f891fa8b9967c4ded93c013e
|
||||||
build_style=gnu-makefile
|
|
||||||
make_install_args="prefix=/usr"
|
|
||||||
|
|
||||||
iodine-server_package() {
|
do_build() {
|
||||||
short_desc+=" - development files"
|
make CC=$CC ${makejobs}
|
||||||
depends+=" iodine>=${version}_${revision}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/sbin/iodined
|
|
||||||
}
|
}
|
||||||
|
do_install() {
|
||||||
|
make prefix=/usr DESTDIR=${DESTDIR} sbindir=/usr/bin install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue