replacement GAR Makefile for HAL



Attached is a replacement GAR Makefile for

	./freedesktop/hal

that resolves the issue raised in bug #320172

        http://bugzilla.gnome.org/show_bug.cgi?id=320172
        
        
-Joseph

-- 
joseph_sacco [at] comcast [dot] net
GARNAME = hal
GARVERSION = 0.5.4
CATEGORIES = freedesktop
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
PATCHFILES = upstream-fixes.diff

# [slackware / suse fix] uncomment the following line to fix defines that are not included in your distribution.
#PATCHFILES += hal-slackware-kernel-includes.diff

MASTER_SITES = http://freedesktop.org/~david/dist/

LIBDEPS = freedesktop/dbus

DESCRIPTION = hal
define BLURB
 #FIXME: blurb goes here
endef

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS) --with-hotplug=$(sysconfdir)/hotplug.d

# we intend to replace the system hal daemon with the GARNOME version
CONFIGURE_ARGS += --with-pid-file=/var/run/haldaemon.pid


include ../category.mk

CC := $(shell echo $(CC) | sed -e 's/ccache //g')
CXX := $(shell echo $(CXX) | sed -e 's/ccache //g')

post-install:
	@echo "To finish installation become root and create a soft link:"
	@echo "ln -s $(prefix)/libexec/hal.hotplug /etc/hotplug.d/default/20-hal.hotplug"
	@$(MAKECOOKIE)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]