27 lines
869 B
Bash
27 lines
869 B
Bash
# Template file for 'dhcpcd-qt'
|
|
pkgname=dhcpcd-qt
|
|
version=0.7.5
|
|
revision=3
|
|
wrksrc="dhcpcd-ui-${version}"
|
|
build_style=gnu-configure
|
|
configure_args="--with-qt --without-dhcpcd-online --without-icons --with-notification"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="qt-devel"
|
|
depends="dhcpcd dhcpcd-icons desktop-file-utils"
|
|
short_desc="Qt system tray monitor for dhcpcd"
|
|
homepage="http://roy.marples.name/projects/dhcpcd-ui"
|
|
license="BSD"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-ui-$version.tar.bz2"
|
|
checksum=2dae2108605867aba78d98cc9e56e22d7b751eedc3f7e6d689d42d08e706aaf3
|
|
|
|
post_configure() {
|
|
sed -i src/dhcpcd-qt/Makefile \
|
|
-e "s;^\(CFLAGS.*=.*\);& ${CFLAGS};" \
|
|
-e "s;^\(CXXFLAGS.*=.*\);& ${CXXFLAGS};" \
|
|
-e "s;^\(LFLAGS.*=.*\);& ${LDFLAGS};"
|
|
}
|
|
|
|
do_install() {
|
|
make INSTALL_ROOT=${DESTDIR} install
|
|
}
|