# Template build file for 'pekwm'.
pkgname=pekwm
version=0.1.12
revision=1
distfiles="http://www.pekwm.org/projects/pekwm/files/pekwm-$version.tar.gz"
build_style=gnu_configure
short_desc="Window manager based on aewm++"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=97b1c017c46b143b6c5fe9eee8987167ada5415828e5e0f054af27b1f2d55834
long_desc="
 A window manager based on aewm++. Here is a compact list of changes
 between the original aewm++-1.1.16 and pekwm:

 * Better structured and formatted code.
 * Possibility to group windows in a single frame.
 * Configurable keygrabber.
 * Configurable rootmenu.
 * Configration file.
 * Xinerama support.
 * Smart window placement.
 * Basic pixmap theming, with configurable buttons."

conf_files="
/etc/pekwm/keys
/etc/pekwm/vars
/etc/pekwm/autoproperties
/etc/pekwm/mouse
/etc/pekwm/config
/etc/pekwm/menu
/etc/pekwm/start"

Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency run jpeg
Add_dependency run libpng
Add_dependency run libSM
Add_dependency run libICE
Add_dependency run libX11
Add_dependency run libXext
Add_dependency run libXinerama
Add_dependency run libXft
Add_dependency run libXrender
Add_dependency run fontconfig
Add_dependency run freetype
Add_dependency run libXpm
Add_dependency run libXrandr
Add_dependency build pkg-config
Add_dependency build libstdc++-devel
Add_dependency build jpeg-devel
Add_dependency build libpng-devel
Add_dependency build libSM-devel
Add_dependency build libICE-devel
Add_dependency build libX11-devel
Add_dependency build libXext-devel
Add_dependency build libXinerama-devel
Add_dependency build libXft-devel
Add_dependency build libXrender-devel
Add_dependency build fontconfig-devel
Add_dependency build freetype-devel
Add_dependency build libXpm-devel
Add_dependency build libXrandr-devel

pre_configure()
{
	sed -i -e "s|libpng12|libpng14|g" ${wrksrc}/configure
}
