diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-13 14:14:06 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-13 14:14:06 +0000 |
commit | ce0e95607d04e95b0d07a11aacbaaa4dae26bfd7 (patch) | |
tree | b4be1b4af61426a7a7090dda0afe850bad42a4a8 /Makefile | |
parent | a111620bc8b8bbd72295c899acf5a7dca87e210c (diff) | |
download | abuild-ce0e95607d04e95b0d07a11aacbaaa4dae26bfd7.tar.gz abuild-ce0e95607d04e95b0d07a11aacbaaa4dae26bfd7.tar.bz2 abuild-ce0e95607d04e95b0d07a11aacbaaa4dae26bfd7.tar.xz abuild-ce0e95607d04e95b0d07a11aacbaaa4dae26bfd7.zip |
ap: initial implementation
ap is a helper script to parse APKBUILD and calculate build time
dependencies.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -7,8 +7,11 @@ sysconfdir ?= /etc datadir ?= $(prefix)/share/$(PACKAGE) abuildrepo ?= ~/.cache/apks +LUA_VERSION = 5.1 +LUA_SHAREDIR ?= $(prefix)/share/lua/$(LUA_VERSION)/ + SCRIPTS := abuild devbuild buildrepo abuild-keygen \ - abuild-sign newapkbuild abump + abuild-sign newapkbuild abump ap USR_BIN_FILES := $(SCRIPTS) abuild-tar SAMPLES := sample.APKBUILD sample.initd sample.confd \ sample.pre-install sample.post-install @@ -65,7 +68,7 @@ help: @echo "usage: make install [ DESTDIR=<path> ]" @echo " make dist" -install: $(USR_BIN_FILES) $(SAMPLES) abuild.conf functions.sh +install: $(USR_BIN_FILES) $(SAMPLES) abuild.conf functions.sh aports.lua mkdir -p $(DESTDIR)/$(prefix)/bin $(DESTDIR)/$(sysconfdir) \ $(DESTDIR)/$(datadir) for i in $(USR_BIN_FILES); do\ @@ -76,6 +79,8 @@ install: $(USR_BIN_FILES) $(SAMPLES) abuild.conf functions.sh fi cp $(SAMPLES) $(DESTDIR)/$(prefix)/share/abuild cp functions.sh $(DESTDIR)/$(datadir)/ + mkdir -p $(DESTDIR)$(LUA_SHAREDIR) + cp aports.lua $(DESTDIR)$(LUA_SHAREDIR)/ dist: $(P).tar.bz2 |