# -*-makefile-*- # # Copyright (C) 2006 by Sascha Hauer # 2010 by Marc Kleine-Budde # # See CREDITS for details about who has contributed to this project. # # For further information about the PTXdist project and license conditions # see the README file. # # # We provide this package # PACKAGES-$(PTXCONF_PEKWM) += pekwm # # Paths and names # PEKWM_VERSION := 0.1.12 PEKWM_MD5 := 1f7f9ed32cc03f565a3ad30fd6045c1f PEKWM := pekwm-$(PEKWM_VERSION) PEKWM_SUFFIX := tar.gz PEKWM_URL := http://www.pekwm.org/projects/pekwm/files/$(PEKWM).$(PEKWM_SUFFIX) PEKWM_SOURCE := $(SRCDIR)/$(PEKWM).$(PEKWM_SUFFIX) PEKWM_DIR := $(BUILDDIR)/$(PEKWM) # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- PEKWM_CONF_TOOL := autoconf # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- $(STATEDIR)/pekwm.targetinstall: @$(call targetinfo) @$(call install_init, pekwm) @$(call install_fixup, pekwm,PRIORITY,optional) @$(call install_fixup, pekwm,SECTION,base) @$(call install_fixup, pekwm,AUTHOR,"Robert Schwebel ") @$(call install_fixup, pekwm,DESCRIPTION,missing) @$(call install_copy, pekwm, 0, 0, 0755, -, /usr/bin/pekwm) ifdef PTXCONF_PEKWM_INSTALL_CONFIG @for file in /etc/pekwm/{autoproperties,config,keys,menu,mouse,start,vars}; do \ $(call install_copy, pekwm, 0, 0, 0644, -, $$file); \ done endif ifdef PTXCONF_PEKWM_INSTALL_THEME @$(call install_copy, pekwm, 0, 0, 0644, -, \ /usr/share/pekwm/themes/default/theme) @cd $(PEKWM_PKGDIR) && \ find usr/share/pekwm/themes/default -type f | while read file; do \ $(call install_copy, pekwm, 0, 0, 0644, -, /$$file); \ done endif ifdef PTXCONF_PEKWM_INSTALL_SCRIPTS @cd $(PEKWM_PKGDIR) && \ find usr/share/pekwm/scripts -type f | while read file; do \ $(call install_copy, pekwm, 0, 0, 0755, -, /$$file); \ done endif @$(call install_finish, pekwm) @$(call touch) # vim: syntax=make