Browse Source

added debian packaging stuff to build .udebs. However, it fails with

dpkg-buildpackage. :-(

r55
keep-around/c8703c509368e1805e513d61f98a9d17d2cdd9cc
Joey Hess 22 years ago
parent
commit
14154a0433
  1. 9
      debian/changelog
  2. 12
      debian/control
  3. 7
      debian/copyright
  4. 61
      debian/rules
  5. 0
      debian/templates

9
debian/changelog

@ -0,0 +1,9 @@
main-menu (0.001) unstable; urgency=low
* First release.
-- Joey Hess <joeyh@debian.org> Thu, 26 Oct 2000 12:02:04 -0700
Local variables:
mode: debian-changelog
End:

12
debian/control

@ -0,0 +1,12 @@
Source: main-menu
Section: byhand
Priority: standard
Maintainer: Joey Hess <joeyh@debian.org>
Standards-Version: 2.3.0.1
Package: main-menu
Architecture: any
Depends: ${shlibs:Depends}
Description: Debian installer main menu
This package provides a main menu for the debian installer. It is
otherwise pretty worthless.

7
debian/copyright

@ -0,0 +1,7 @@
The Debian installer main menu is copyright 2000 by Joey Hess
<joeyh@debian.org> and others.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version.

61
debian/rules

@ -0,0 +1,61 @@
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This is the debhelper compatability version to use.
export DH_COMPAT=2
PACKAGE=$(shell dh_listpackages)
VERSION=$(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2)
ARCH=$(shell dpkg --print-architecture)
FILENAME=$(PACKAGE)_$(VERSION)_$(ARCH).udeb
PRIORITY=$(shell grep ^Priority: debian/control | cut -d ' ' -f 2)
build: build-stamp
build-stamp:
dh_testdir
$(MAKE) small
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
$(MAKE) clean
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs usr/bin
install -s main-menu debian/main-menu/usr/bin
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
#
# Note that this builds a .udeb, which is not policy compliant or anything.
binary-arch: build install
dh_testdir
dh_testroot
dh_installdebconf
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
# Don't write your stupid guesses to debian/files.
dh_gencontrol -- -fdebian/files~
# Register file manually.
dpkg-distaddfile $(FILENAME) byhand $(PRIORITY)
# Ok, it's a hack, but debhelper needs an alias for this switch.
dh_builddeb --destdir=../$(FILENAME)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install

0
main-menu.templates → debian/templates

Loading…
Cancel
Save