summaryrefslogblamecommitdiff
path: root/flx/wdd/wdd-9999.ebuild
blob: f8d440738c8ab518bcddce32a128152536600571 (plain) (tree)
1
2
3
4
5
6
7
                                    
                                                                  
 
      
                              
 
                                    







                                                                    




                                                                   
                

               








                    

                          



                                                
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
inherit git-r3 toolchain-funcs

DESCRIPTION="Simple Watchdog Daemon"
HOMEPAGE="http://git.formilux.org/?p=dist/src/flxutils.git"
EGIT_REPO_URI="http://master.formilux.org/git/dist/src/flxutils.git"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE=""

PATCHES=(
	"${FILESDIR}/${PV}-MEDIUM-Remove-strip-and-uclibc.patch"
	"${FILESDIR}/${PV}-MEDIUM-Respect-CFLAGS-and-LDFLAGS.patch"
)

src_prepare () {
	default

	tc-export CC
}

src_compile () {
	emake -C wd
}

src_install () {
	into /
	dosbin "wd/${PN}"
	doman "wd/${PN}.8"

	newinitd "${FILESDIR}/wdd.initd" "${PN}"
	newconfd "${FILESDIR}/wdd.confd" "${PN}"
}