This commit is contained in:
Yury Martynov 2020-02-10 23:37:49 +03:00
parent 1a125a1c98
commit c72b31a37c
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
2 changed files with 0 additions and 52 deletions

View file

@ -1,27 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: blshkv $
EAPI=5
PYTHON_COMPAT=( python2_{6,7} )
inherit git-2 eutils python-r1
DESCRIPTION="F5 VPN Command-line client"
HOMEPAGE="https://github.com/hackedd/f5vpn-login"
EGIT_REPO_URI="https://github.com/hackedd/f5vpn-login.git"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=""
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/"${PN}"-makefile.patch
}
src_install() {
emake DESTDIR="${D}" install
}

View file

@ -1,25 +0,0 @@
--- Makefile.orig 2013-10-07 14:30:02.000000000 +0800
+++ Makefile 2013-10-07 15:01:05.524739958 +0800
@@ -3,13 +3,17 @@
PYTHON ?= /usr/bin/python
PREFIX ?= /usr
+all: build
+
build:
- gcc -DPYTHON=\"$(PYTHON)\" -DPREFIX=\"$(PREFIX)\" -o f5vpn-login-runner f5vpn-login-runner.c
+ gcc $(CFLAGS) $(LDFLAGS) -DPYTHON=\"$(PYTHON)\" -DPREFIX=\"$(PREFIX)\" -o f5vpn-login-runner f5vpn-login-runner.c
-install: build
- cp f5vpn-login.py $(PREFIX)/sbin/f5vpn-login.py
- cp f5vpn-login-runner $(PREFIX)/bin/f5vpn-login
- chmod u+s $(PREFIX)/bin/f5vpn-login
+install:
+ mkdir -p $(DESTDIR)/$(PREFIX)/sbin/
+ cp f5vpn-login.py $(DESTDIR)/$(PREFIX)/sbin/f5vpn-login.py
+ mkdir -p $(DESTDIR)/$(PREFIX)/bin/
+ cp f5vpn-login-runner $(DESTDIR)/$(PREFIX)/bin/f5vpn-login
+ chmod u+s $(DESTDIR)/$(PREFIX)/bin/f5vpn-login
clean:
rm f5vpn-login-runner