Skip to content

Commit

Permalink
Dropped deb pkg creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeDP committed Jul 20, 2018
1 parent 2c2ccfc commit ac5cc36
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 40 deletions.
9 changes: 0 additions & 9 deletions DEBIAN/control

This file was deleted.

11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,16 +129,5 @@ On archlinux this is automatically accomplished by PKGBUILD.
## Arch AUR packages
Clightd is available on AUR: https://aur.archlinux.org/packages/clightd-git/ .

## Deb packages
Deb package for amd64 architecture is provided for each [release](https://github.com/FedeDP/Clightd/releases).
Moreover, you can very easily build your own packages, if you wish to test latest Clightd code.
You only need to issue:

$ make deb

A deb file will be created in "Debian" folder, inside Clightd root.
Please note that i am developing clightd from archlinux, thus you can encounter some packaging issues. Please, report back.
Note also that debian package misses ddcutil dependency (as ddcutil C api/shared object is not yet packaged), so its support will be disabled.

## License
This software is distributed with GPL license, see [COPYING](https://github.com/FedeDP/Clightd/blob/master/COPYING) file for more informations.
5 changes: 5 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 2.2

- [x] Drop deb package
- [x] Some really small fixes

## 2.X

- [ ] Keep it up to date with possible ddcutil api changes
20 changes: 0 additions & 20 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ POLKITPOLICYDIR = /usr/share/polkit-1/actions
MODULESLOADDDC = i2c_clightd.conf
MODULESLOADDIR = /usr/lib/modules-load.d
EXTRADIR = Scripts
DEBIANDIR = ./Clightd
DEBOUTPUTDIR = ./Debian
RM = rm -f
RMDIR = rm -rf
INSTALL = install -p
Expand Down Expand Up @@ -110,24 +108,6 @@ clightd-debug: objects-debug
clean:
@cd $(SRCDIR); $(RM) *.o

deb: all install-deb build-deb clean-deb

install-deb: DESTDIR=$(DEBIANDIR)
install-deb: install

build-deb:
$(info setting deb package version.)
@sed -i 's/Version:.*/Version: $(CLIGHTD_VERSION)/' ./DEBIAN/control
$(info copying debian build script.)
@cp -r DEBIAN/ $(DEBIANDIR)
@$(INSTALL_DIR) $(DEBOUTPUTDIR)
$(info creating debian package.)
@dpkg-deb --build $(DEBIANDIR) $(DEBOUTPUTDIR)

clean-deb:
$(info cleaning up.)
@$(RMDIR) $(DEBIANDIR)

install:
$(info installing bin.)
@$(INSTALL_DIR) "$(DESTDIR)$(BINDIR)"
Expand Down

0 comments on commit ac5cc36

Please sign in to comment.