summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-06-03 11:24:29 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-06-03 11:24:29 +0000
commit9d616a1346f27da8e2173021b08dc846dce69907 (patch)
tree2cc86965b86173b1caebff63e01e644da403d787 /Makefile
parentbdc6182749c440ce228e5270c4c5dd76d6c30fb0 (diff)
downloadabuild-9d616a1346f27da8e2173021b08dc846dce69907.tar.gz
abuild-9d616a1346f27da8e2173021b08dc846dce69907.tar.bz2
abuild-9d616a1346f27da8e2173021b08dc846dce69907.tar.xz
abuild-9d616a1346f27da8e2173021b08dc846dce69907.zip
abuild: add configurable apk cache
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b284d47..7d7099c 100644
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,10 @@
PACKAGE := abuild
VERSION := 1.14
-prefix ?= /usr
-sysconfdir ?= /etc
-datadir ?= $(prefix)/share/$(PACKAGE)
+prefix ?= /usr
+sysconfdir ?= /etc
+datadir ?= $(prefix)/share/$(PACKAGE)
+apkcache ?= /var/cache/abuild/apks
USR_BIN_FILES := abuild devbuild mkalpine buildrepo
SAMPLES := sample.APKBUILD sample.initd sample.confd \
@@ -29,7 +30,8 @@ TAR := tar
SED_REPLACE := -e 's:@VERSION@:$(FULL_VERSION):g' \
-e 's:@prefix@:$(prefix):g' \
-e 's:@sysconfdir@:$(sysconfdir):g' \
- -e 's:@datadir@:$(datadir):g'
+ -e 's:@datadir@:$(datadir):g' \
+ -e 's:@apkcache@:$(apkcache):g'
.SUFFIXES: .sh.in .in
.sh.in.sh: