Skip to content

Commit 378b0b6

Browse files
partipan-dotschrnz
authored andcommitted
Inital commit
1 parent 6b9a257 commit 378b0b6

29 files changed

+1537
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/src/include
2+
/src/toolchain
3+
/releases

Makefile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
NAME = artist-sdk
2+
VERSION = 0.0.1
3+
OUTPUT_FILE_NAME = $(NAME)-$(VERSION)
4+
COMMON_FILES = include toolchain makefiles
5+
6+
.PHONY: zip
7+
zip:
8+
cd src && zip -r "../releases/$(OUTPUT_FILE_NAME).zip" $(COMMON_FILES) install.sh
9+
10+
.PHONY: rpm
11+
rpm:
12+
mkdir -p rpmbuild/SOURCES/$(OUTPUT_FILE_NAME)
13+
cd src && cp -r $(COMMON_FILES) LICENSE Makefile ../rpmbuild/SOURCES/$(OUTPUT_FILE_NAME)/
14+
cd rpmbuild/SOURCES && tar -zcf $(OUTPUT_FILE_NAME).tar.gz $(OUTPUT_FILE_NAME) && rm -r $(OUTPUT_FILE_NAME)
15+
rpmbuild -bb rpmbuild/SPECS/$(NAME).spec
16+
mv rpmbuild/RPMS/x86_64/*.rpm releases/
17+
rm -r rpmbuild/BUILD/* rpmbuild/RPMS/* rpmbuild/SOURCES/*
18+
19+
.PHONY: deb
20+
deb:
21+
mkdir debian/$(OUTPUT_FILE_NAME)
22+
cd src && cp -r $(COMMON_FILES) Makefile ../debian/$(OUTPUT_FILE_NAME)/
23+
cd debian && tar -zcf $(NAME)_$(VERSION).orig.tar.gz $(OUTPUT_FILE_NAME)
24+
cp -r debian/debian debian/$(OUTPUT_FILE_NAME)/
25+
cd debian/$(OUTPUT_FILE_NAME) && dpkg-buildpackage -us -uc
26+
mv debian/*.deb releases/
27+
cd debian && rm -r $(OUTPUT_FILE_NAME) $(NAME)_$(VERSION).orig.tar.gz *.buildinfo *.changes *.debian.tar.xz *.dsc

debian/debian/README.Debian

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
artist-sdk for Debian
2+
--------------------
3+
4+
<possible notes regarding this package - if none, delete this file>
5+
6+
-- Parthipan Ramesh <[email protected]> Sat, 24 Mar 2018 14:57:57 +0100

debian/debian/README.source

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
artist-sdk for Debian
2+
--------------------
3+
4+
<this file describes information about the source package, see Debian policy
5+
manual section 4.14. You WILL either need to modify or delete this file>
6+
7+
8+
9+
-- Parthipan Ramesh <[email protected]> Sat, 24 Mar 2018 14:57:57 +0100
10+

debian/debian/artist-sdk-docs.docs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
README.source
2+
README.Debian

debian/debian/artist-sdk.cron.d.ex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#
2+
# Regular cron jobs for the artist-sdk package
3+
#
4+
0 4 * * * root [ -x /usr/bin/artist-sdk_maintenance ] && /usr/bin/artist-sdk_maintenance
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Defaults for artist-sdk initscript
2+
# sourced by /etc/init.d/artist-sdk
3+
# installed at /etc/default/artist-sdk by the maintainer scripts
4+
5+
#
6+
# This is a POSIX shell fragment
7+
#
8+
9+
# Additional options that are passed to the Daemon.
10+
DAEMON_OPTS=""
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Document: artist-sdk
2+
Title: Debian artist-sdk Manual
3+
Author: <insert document author here>
4+
Abstract: This manual describes what artist-sdk is
5+
and how it can be used to
6+
manage online manuals on Debian systems.
7+
Section: unknown
8+
9+
Format: debiandoc-sgml
10+
Files: /usr/share/doc/artist-sdk/artist-sdk.sgml.gz
11+
12+
Format: postscript
13+
Files: /usr/share/doc/artist-sdk/artist-sdk.ps.gz
14+
15+
Format: text
16+
Files: /usr/share/doc/artist-sdk/artist-sdk.text.gz
17+
18+
Format: HTML
19+
Index: /usr/share/doc/artist-sdk/html/index.html
20+
Files: /usr/share/doc/artist-sdk/html/*.html

debian/debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
artist-sdk (0.0.1-1) UNRELEASED; urgency=low
2+
3+
* Initial release
4+
5+
-- Parthipan Ramesh <[email protected]> Sat, 24 Mar 2018 14:57:57 +0100

debian/debian/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9

0 commit comments

Comments
 (0)