1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# -*-makefile-*-
#
# Copyright (C) 2014 by Alexander Aring <aar@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_SIMPLERPL) += simplerpl
#
# Paths and names
#
SIMPLERPL_VERSION := 1.0
SIMPLERPL_MD5 := 8544a9f7414e98cd2d17ff15332c8eee
SIMPLERPL := simplerpl-$(SIMPLERPL_VERSION)
SIMPLERPL_SUFFIX := tar.gz
SIMPLERPL_URL := http://cakelab.org/~eintopf/RPL/$(SIMPLERPL).$(SIMPLERPL_SUFFIX)
SIMPLERPL_SOURCE := $(SRCDIR)/$(SIMPLERPL).$(SIMPLERPL_SUFFIX)
SIMPLERPL_DIR := $(BUILDDIR)/$(SIMPLERPL)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
SIMPLERPL_CONF_TOOL := python
SIMPLERPL_MAKE_OPT = build -e "/usr/bin/$(PYTHON_MAJORMINOR)"
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/simplerpl.targetinstall:
@$(call targetinfo)
@$(call install_init, simplerpl)
@$(call install_fixup, simplerpl,PRIORITY,optional)
@$(call install_fixup, simplerpl,SECTION,base)
@$(call install_fixup, simplerpl,AUTHOR,"Alexander Aring <aar@pengutronix.de>")
@$(call install_fixup, simplerpl,DESCRIPTION,missing)
@for file in $(shell cd $(SIMPLERPL_PKGDIR) && find . -name "*.pyc"); \
do \
$(call install_copy, simplerpl, 0, 0, 0644, -, /$$file); \
done
@$(call install_copy, simplerpl, 0, 0, 0755, -, /usr/bin/cliRPL.py)
@$(call install_copy, simplerpl, 0, 0, 0755, -, /usr/bin/simpleRPL.py)
@$(call install_finish, simplerpl)
@$(call touch)
# vim: syntax=make
|