You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-apps/hprofile/hprofile-3.1.1.ebuild

20 lines
641 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hprofile/hprofile-3.1.1.ebuild,v 1.1 2015/06/04 12:12:04 polynomial-c Exp $
EAPI=5
DESCRIPTION="Utility to manage hardware, network, power or other profiles (fork)"
HOMEPAGE="https://github.com/tokiclover/hprofile"
SRC_URI="https://github.com/tokiclover/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
src_prepare() {
sed -i '1s:.*:#!/sbin/runscript:' hprofile.initd || die
sed -i "/^prefix/s:=.*:=${EPREFIX}/usr:" Makefile || die
}