From: agb Date: Fri, 17 Oct 2008 07:41:26 +0000 (+0000) Subject: [packages] utils/at: explicitly pass jobdir and spooldir to configure X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=023d9a10e730d7f9452a8b1f0f8f1e3752d75864;p=packages.git [packages] utils/at: explicitly pass jobdir and spooldir to configure - Fixes compilation on hosts without at or cron installed - Should fix problems where host location of above dirs varies from OpenWrt location - Also add PKG_RELEASE var to makefile git-svn-id: svn://svn.openwrt.org/openwrt/packages@12998 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/utils/at/Makefile b/utils/at/Makefile index f793ffadb..3f438b23c 100644 --- a/utils/at/Makefile +++ b/utils/at/Makefile @@ -1,4 +1,4 @@ -# +# # Copyright (C) 2008 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. @@ -10,6 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=at PKG_VERSION:=3.1.10ubuntu4 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://archive.ubuntu.com/ubuntu/pool/main/a/at @@ -33,7 +34,8 @@ endef export SENDMAIL=/bin/true EXTRA_CFLAGS:=-DNEED_YYWRAP -I$(PKG_BUILD_DIR) -I$(STAGING_DIR)/usr/include/libelf \ -L$(STAGING_DIR)/usr/lib -CONFIGURE_ARGS+=--with-daemon_username=nobody --with-daemon_groupname=nogroup +CONFIGURE_ARGS+=--with-daemon_username=nobody --with-daemon_groupname=nogroup \ + --with-jobdir=/var/spool/cron/atjobs --with-atspool=/var/spool/cron/atspool define Package/at/install $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/sbin $(1)/etc/init.d/