Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 42 lines (33 sloc) 1.186 kB
aa0405c @cr much improved IPKG version added
authored
1 NAME = piratebox
80e92ee @cr switched to kmod-fs-ext4 for OpenWRT trunk compatibility
authored
2 VERSION = 0.2-5
b6f0104 @cr preliminary preseed package added
authored
3 VERSIONPS = 0.1-1
aa0405c @cr much improved IPKG version added
authored
4 ARCH = all
5 IPK = $(NAME)_$(VERSION)_$(ARCH).ipk
6 IPKDIR = src
b6f0104 @cr preliminary preseed package added
authored
7 IPKPS = $(NAME)-preseed_$(VERSIONPS)_$(ARCH).ipk
8 IPKPSDIR = src-preseed
aa0405c @cr much improved IPKG version added
authored
9
10 .DEFAULT_GOAL = all
11
12 $(IPKDIR)/control.tar.gz: $(IPKDIR)/control
13 tar czf $@ -C $(IPKDIR)/control .
b6f0104 @cr preliminary preseed package added
authored
14 $(IPKPSDIR)/control.tar.gz: $(IPKPSDIR)/control
15 tar czf $@ -C $(IPKPSDIR)/control .
16 control: $(IPKDIR)/control.tar.gz $(IPKPSDIR)/control.tar.gz
aa0405c @cr much improved IPKG version added
authored
17
18 $(IPKDIR)/data.tar.gz: $(IPKDIR)/data
19 tar czf $@ -C $(IPKDIR)/data .
b6f0104 @cr preliminary preseed package added
authored
20 $(IPKPSDIR)/data.tar.gz: $(IPKPSDIR)/data
21 tar czf $@ -C $(IPKPSDIR)/data .
22 data: $(IPKDIR)/data.tar.gz $(IPKPSDIR)/data.tar.gz
aa0405c @cr much improved IPKG version added
authored
23
24 $(IPK): $(IPKDIR)/control.tar.gz $(IPKDIR)/data.tar.gz $(IPKDIR)/control $(IPKDIR)/data
25 tar czf $@ -C $(IPKDIR) control.tar.gz data.tar.gz debian-binary
b6f0104 @cr preliminary preseed package added
authored
26 $(IPKPS): $(IPKPSDIR)/control.tar.gz $(IPKPSDIR)/data.tar.gz $(IPKPSDIR)/control $(IPKPSDIR)/data
27 tar czf $@ -C $(IPKPSDIR) control.tar.gz data.tar.gz debian-binary
28 all: $(IPK) $(IPKPS)
aa0405c @cr much improved IPKG version added
authored
29
30 cleanbuild:
31 -rm -f $(IPKDIR)/control.tar.gz
32 -rm -f $(IPKDIR)/data.tar.gz
b6f0104 @cr preliminary preseed package added
authored
33 -rm -f $(IPKPSDIR)/control.tar.gz
34 -rm -f $(IPKPSDIR)/data.tar.gz
aa0405c @cr much improved IPKG version added
authored
35
36 clean: cleanbuild
37 -rm -f $(IPK)
b6f0104 @cr preliminary preseed package added
authored
38 -rm -f $(IPKPS)
aa0405c @cr much improved IPKG version added
authored
39
40 .PHONY: all clean
41
Something went wrong with that request. Please try again.