Rename sigil package to gliderlabs-sigl
Also fix a few lintian issues
This commit is contained in:
17
deb.mk
17
deb.mk
@@ -26,7 +26,7 @@ SIGIL_DESCRIPTION = 'Standalone string interpolator and template processor'
|
|||||||
SIGIL_REPO_NAME ?= gliderlabs/sigil
|
SIGIL_REPO_NAME ?= gliderlabs/sigil
|
||||||
SIGIL_VERSION ?= 0.4.0
|
SIGIL_VERSION ?= 0.4.0
|
||||||
SIGIL_ARCHITECTURE = amd64
|
SIGIL_ARCHITECTURE = amd64
|
||||||
SIGIL_PACKAGE_NAME = sigil_$(SIGIL_VERSION)_$(SIGIL_ARCHITECTURE).deb
|
SIGIL_PACKAGE_NAME = gliderlabs_sigil_$(SIGIL_VERSION)_$(SIGIL_ARCHITECTURE).deb
|
||||||
SIGIL_URL = https://github.com/gliderlabs/sigil/releases/download/v$(SIGIL_VERSION)/sigil_$(SIGIL_VERSION)_Linux_x86_64.tgz
|
SIGIL_URL = https://github.com/gliderlabs/sigil/releases/download/v$(SIGIL_VERSION)/sigil_$(SIGIL_VERSION)_Linux_x86_64.tgz
|
||||||
|
|
||||||
.PHONY: install-from-deb deb-all deb-herokuish deb-dokku deb-plugn deb-setup deb-sshcommand deb-sigil
|
.PHONY: install-from-deb deb-all deb-herokuish deb-dokku deb-plugn deb-setup deb-sshcommand deb-sigil
|
||||||
@@ -143,15 +143,24 @@ deb-sshcommand:
|
|||||||
|
|
||||||
deb-sigil: deb-setup
|
deb-sigil: deb-setup
|
||||||
rm -rf /tmp/tmp /tmp/build $(SIGIL_PACKAGE_NAME)
|
rm -rf /tmp/tmp /tmp/build $(SIGIL_PACKAGE_NAME)
|
||||||
mkdir -p /tmp/tmp /tmp/build /tmp/build/usr/local/bin
|
mkdir -p /tmp/tmp /tmp/build /tmp/build/usr/bin
|
||||||
|
|
||||||
@echo "-> Downloading package"
|
@echo "-> Downloading package"
|
||||||
wget -q -O /tmp/tmp/sigil-$(SIGIL_VERSION).tgz $(SIGIL_URL)
|
wget -q -O /tmp/tmp/sigil-$(SIGIL_VERSION).tgz $(SIGIL_URL)
|
||||||
cd /tmp/tmp/ && tar zxf /tmp/tmp/sigil-$(SIGIL_VERSION).tgz
|
cd /tmp/tmp/ && tar zxf /tmp/tmp/sigil-$(SIGIL_VERSION).tgz
|
||||||
|
|
||||||
@echo "-> Copying files into place"
|
@echo "-> Copying files into place"
|
||||||
cp /tmp/tmp/sigil /tmp/build/usr/local/bin/sigil && chmod +x /tmp/build/usr/local/bin/sigil
|
cp /tmp/tmp/sigil /tmp/build/usr/bin/sigil && chmod +x /tmp/build/usr/bin/sigil
|
||||||
|
|
||||||
@echo "-> Creating $(SIGIL_PACKAGE_NAME)"
|
@echo "-> Creating $(SIGIL_PACKAGE_NAME)"
|
||||||
sudo fpm -t deb -s dir -C /tmp/build -n sigil -v $(SIGIL_VERSION) -a $(SIGIL_ARCHITECTURE) -p $(SIGIL_PACKAGE_NAME) --url "https://github.com/$(SIGIL_REPO_NAME)" --description $(SIGIL_DESCRIPTION) --license 'MIT License' .
|
sudo fpm -t deb -s dir -C /tmp/build -n gliderlabs-sigil \
|
||||||
|
--version $(SIGIL_VERSION) \
|
||||||
|
--architecture $(SIGIL_ARCHITECTURE) \
|
||||||
|
--package $(SIGIL_PACKAGE_NAME) \
|
||||||
|
--url "https://github.com/$(SIGIL_REPO_NAME)" \
|
||||||
|
--maintainer "Jose Diaz-Gonzalez <dokku@josediazgonzalez.com>" \
|
||||||
|
--category utils \
|
||||||
|
--description $(SIGIL_DESCRIPTION) \
|
||||||
|
--license 'MIT License' \
|
||||||
|
.
|
||||||
mv *.deb /tmp
|
mv *.deb /tmp
|
||||||
|
|||||||
2
debian/control
vendored
2
debian/control
vendored
@@ -3,7 +3,7 @@ Version: 0.5.7
|
|||||||
Section: web
|
Section: web
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Depends: locales, git, make, curl, gcc, man-db, sshcommand, sigil, docker-engine-cs (>= 1.9.1) | docker-engine (>= 1.9.1), software-properties-common, python-software-properties
|
Depends: locales, git, make, curl, gcc, man-db, sshcommand, gliderlabs-sigil, docker-engine-cs (>= 1.9.1) | docker-engine (>= 1.9.1), software-properties-common, python-software-properties
|
||||||
Recommends: herokuish
|
Recommends: herokuish
|
||||||
Pre-Depends: nginx (>= 1.4.6), dnsutils, apparmor, cgroupfs-mount | cgroup-lite, plugn, sudo, python2.7, debconf
|
Pre-Depends: nginx (>= 1.4.6), dnsutils, apparmor, cgroupfs-mount | cgroup-lite, plugn, sudo, python2.7, debconf
|
||||||
Maintainer: Jose Diaz-Gonzalez <dokku@josediazgonzalez.com>
|
Maintainer: Jose Diaz-Gonzalez <dokku@josediazgonzalez.com>
|
||||||
|
|||||||
Reference in New Issue
Block a user