summaryrefslogtreecommitdiffstats
path: root/distributions/tarball/source/rules
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-05-11 21:28:48 +0900
committerMichele Calgaro <[email protected]>2024-05-11 21:28:48 +0900
commit2462d03f322261bd616721c2b2065c4004b36c9c (patch)
tree239947a0737bb8386703a1497f12c09aebd3080a /distributions/tarball/source/rules
downloadtde-ebook-reader-2462d03f322261bd616721c2b2065c4004b36c9c.tar.gz
tde-ebook-reader-2462d03f322261bd616721c2b2065c4004b36c9c.zip
Initial import (as is) from Debian Snapshot's 'fbreader' source code (https://snapshot.debian.org/package/fbreader/0.99.4%2Bdfsg-6).
The Debian code is provided under GPL2 license. Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'distributions/tarball/source/rules')
-rw-r--r--distributions/tarball/source/rules13
1 files changed, 13 insertions, 0 deletions
diff --git a/distributions/tarball/source/rules b/distributions/tarball/source/rules
new file mode 100644
index 0000000..f806d4a
--- /dev/null
+++ b/distributions/tarball/source/rules
@@ -0,0 +1,13 @@
+VERSION = $(shell cat $(CURDIR)/fbreader/VERSION)
+SRCDIR = fbreader-$(VERSION)
+
+clean:
+
+build:
+
+install:
+ mkdir $(DESTDIR)/$(SRCDIR)
+ cp -r Makefile build_packages.sh zlibrary fbreader makefiles distributions README.build ChangeLog $(DESTDIR)/$(SRCDIR)
+
+package:
+ tar czf fbreader-sources-$(VERSION).tgz -C $(DESTDIR) $(SRCDIR)