[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
This commit is contained in:
agb 2008-10-17 07:41:26 +00:00
parent ef7984c166
commit 023d9a10e7

View File

@ -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/