New package: xfce4-netload-plugin-1.2.4
This commit is contained in:
parent
56cde4503f
commit
7249872d8b
1 changed files with 21 additions and 0 deletions
21
srcpkgs/xfce4-netload-plugin/template
Normal file
21
srcpkgs/xfce4-netload-plugin/template
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Template file for 'xfce4-netload-plugin'
|
||||
pkgname=xfce4-netload-plugin
|
||||
version=1.2.4
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config intltool"
|
||||
makedepends="xfce4-panel-devel"
|
||||
short_desc="A netload plugin for the Xfce panel"
|
||||
maintainer="Alexander Mamay <alexander@mamay.su>"
|
||||
license="GPL-2"
|
||||
homepage="http://goodies.xfce.org/projects/panel-plugins/xfce4-netload-plugin"
|
||||
distfiles="http://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
|
||||
checksum=fface918822c012d806717116566e54947ad7613b9290b45a18e2d5ffb8730d3
|
||||
|
||||
pre_build() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) # There is no <sys/sysctl.h> in musl libc
|
||||
sed -e "s;<sys/sysctl\.h>;<linux/sysctl.h>;" \
|
||||
-i ${wrksrc}/panel-plugin/os.h
|
||||
esac
|
||||
}
|
Loading…
Reference in a new issue