summaryrefslogtreecommitdiff
path: root/gyp/Makefile
blob: 8033e98b21dd12db9e673b42bb9e4a5970ebd648 (plain)
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
include /usr/share/cibs/rules/ips.mk
include /usr/share/cibs/rules/copy.mk
include /usr/share/cibs/rules/archive.mk
include /usr/share/cibs/rules/noarch.mk

# This must be rewritten to support
# multiple pythons and SVN.

summary := Generate Your Projects
license := BSD
license-file := LICENSE
version := 0.1~svn1395
ips-version := 0.1.0.1395
name := gyp
home := http://code.google.com/p/gyp/

build-depends += \
	pkg:/runtime/python

archive := gyp_0.1~svn1395.orig.tar.gz
download := http://ftp.de.debian.org/debian/pool/main/g/gyp/$(archive)
checksum := \
     md5:512dd02cdba611a94909812a086e1105 \
    sha1:1a02f725ceb642186d6a62472226125610181175 \
  sha256:51f116574a8226bfab2946fe054ba0103ac5d470e8e9309cc1333b9c5d6088d3 \
    size:399588

configure-%-stamp: pre-configure-stamp
	touch $@

build-%-stamp: configure-%-stamp
	cd $(builddir) && python setup.py build
	touch $@

install-%-stamp: build-%-stamp
	cd $(builddir) && python2.6 setup.py install --root="$(protodir)" \
		--install-lib=/usr/lib/python2.6/vendor-packages
	gsed -i 's,#!.*,#!/usr/bin/python2.6,' $(protodir)/usr/bin/gyp
	touch $@