aboutsummaryrefslogtreecommitdiff
path: root/examples/symlinks/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/symlinks/Makefile')
-rw-r--r--examples/symlinks/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/examples/symlinks/Makefile b/examples/symlinks/Makefile
new file mode 100644
index 0000000..8387e76
--- /dev/null
+++ b/examples/symlinks/Makefile
@@ -0,0 +1,30 @@
+include /usr/share/cibs/rules/ips.mk
+include /usr/share/cibs/rules/git.mk
+include /usr/share/cibs/rules/32.mk
+
+
+summary := scan/change symbolic links
+license := PD-like
+license-file := symlinks.license
+
+home := http://packages.debian.org/source/sid/symlinks
+name := symlinks
+version := 1.4
+git-url := http://anonscm.debian.org/git/users/joachim-guest/symlinks.git
+
+# Tag, commit or branch. Passed to git checkout as is:
+# git checkout $(git-checkout)
+git-checkout := upstream/$(version)
+
+configure-%-stamp:
+ touch $@
+
+build-%-stamp: download-stamp
+ [ -d "$(builddir)" ] || mkdir -p "$(builddir)"
+ $(CC) $(CFLAGS) $(sourcedir)/symlinks.c -o $(builddir)/symlinks
+ touch $@
+
+install-%-stamp: build-%-stamp
+ mkdir -p $(destdir)/$(bindir)
+ cp $(builddir)/symlinks $(destdir)/$(bindir)
+ touch $@