From a160c6b73e3dc98511878f2af60824ac186495e6 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 30 Jun 2013 17:12:30 -0400 Subject: Update to SPF 2.0 and new upstream version. Also, don't provide links to versioned files. --- diff --git a/build b/build index fcda0d5..43937f6 100755 --- a/build +++ b/build @@ -1,43 +1,3 @@ -#! /usr/bin/make -f +#!/usr/bin/make -f -VER = 1.0 -PKGS = opkhelper opkhelper-doc -BIN_DATA = /usr/bin/oh-applypatches \ - /usr/bin/oh-buildopk \ - /usr/bin/oh-checkbuilddeps \ - /usr/bin/oh-copyconfig \ - /usr/bin/oh-gencontrol \ - /usr/bin/oh-installdocs \ - /usr/bin/oh-installfiles \ - /usr/bin/oh-strip \ - /usr/bin/opkbuild -MAN_DATA = /usr/share/man/man1/oh-applypatches.1 \ - /usr/share/man/man1/oh-buildopk.1 \ - /usr/share/man/man1/oh-checkbuilddeps.1 \ - /usr/share/man/man1/oh-copyconfig.1 \ - /usr/share/man/man1/oh-gencontrol.1 \ - /usr/share/man/man1/oh-installdocs.1 \ - /usr/share/man/man1/oh-installfiles.1 \ - /usr/share/man/man1/oh-strip.1 \ - /usr/share/man/man1/opkbuild.1 \ - /usr/share/man/man7/opkhelper.7 - -$(PKGS): opkhelper.buildstamp - -.SILENT: opkhelper.buildstamp -opkhelper.buildstamp: - for file in $(BIN_DATA); do \ - mkdir -p "dest/$${file%/*}"; \ - basename="$${file##*/}"; \ - ln -s "$${basename}-$(VER)" "dest/$${file}"; \ - done - for file in $(MAN_DATA); do \ - mkdir -p "dest/$${file%/*}"; \ - basename="$${file##*/}"; \ - ln -s "$${basename%.*}-$(VER).$${basename##*.}" "dest/$${file}"; \ - done - oh-installfiles $(PKGS) - oh-installdocs opkhelper - oh-gencontrol $(PKGS) - oh-buildopk $(PKGS) - touch $@ +build install: diff --git a/changelog b/changelog index a51121a..eebab81 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,13 @@ +opkhelper-default (3.0) trunk + + * New upstream version. + * Update packaging to SPF 2.0. + * Don't provide links to versioned files. + - opkhelper-3.0 provides files in /usr/share/opkhelper-3.0/. + - opkhelper-*-doc packages will just conflict with each other. + + -- "P. J. McDermott" Sun, 30 Jun 2013 17:00:59 -0400 + opkhelper-default (1.0) * Initial release. diff --git a/control b/control index 4d4c754..6b60997 100644 --- a/control +++ b/control @@ -1,3 +1 @@ -Source: opkhelper-default -Version: 1.0 Maintainer: "P. J. McDermott" diff --git a/format b/format index d3827e7..cd5ac03 100644 --- a/format +++ b/format @@ -1 +1 @@ -1.0 +2.0 diff --git a/opkhelper-doc.pkg/control b/opkhelper-doc.pkg/control index a345d3b..a3fb4c8 100644 --- a/opkhelper-doc.pkg/control +++ b/opkhelper-doc.pkg/control @@ -1,9 +1,8 @@ -Package: opkhelper-doc Architecture: all -Depends: opkhelper (>= 1.0-1), opkhelper-1.0-doc (>= 1.0.0-1) -Description: opkg build helper tools - documentation - A set of programs to assist in building binary packages installable by the - lightweight package manager "opkg". +Platform: all +Depends: opkhelper (= ${Binary-Version}), opkhelper-3.0-doc (>= 3.0.0~beta3-1) +Description: package build helper tools - documentation + ${Common-Description} . - This package depends on the default version of the opkg build helper tools + This package depends on the default version of the package build helper tools documentation. diff --git a/opkhelper-doc.pkg/install b/opkhelper-doc.pkg/install deleted file mode 100644 index 0ddb634..0000000 --- a/opkhelper-doc.pkg/install +++ /dev/null @@ -1 +0,0 @@ -/usr/share/man diff --git a/opkhelper.pkg/control b/opkhelper.pkg/control index 01b2474..6626c16 100644 --- a/opkhelper.pkg/control +++ b/opkhelper.pkg/control @@ -1,8 +1,7 @@ -Package: opkhelper Architecture: all -Depends: opkhelper-1.0 (>= 1.0.0-1) -Description: opkg build helper tools - A set of programs to assist in building binary packages installable by the - lightweight package manager "opkg". +Platform: all +Depends: opkhelper-3.0 (>= 3.0.0~beta3-1) +Description: package build helper tools + ${Common-Description} . - This package depends on the default version of the opkg build helper tools. + This package depends on the default version of the package build helper tools. diff --git a/opkhelper.pkg/docs b/opkhelper.pkg/docs new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/opkhelper.pkg/docs diff --git a/opkhelper.pkg/install b/opkhelper.pkg/install deleted file mode 100644 index 415f082..0000000 --- a/opkhelper.pkg/install +++ /dev/null @@ -1 +0,0 @@ -/usr/bin diff --git a/substvars b/substvars new file mode 100644 index 0000000..e8a3f22 --- /dev/null +++ b/substvars @@ -0,0 +1,6 @@ +Common-Description: + opkhelper is a collection of utilities to help build software packages using + opkbuild. + . + opkhelper includes utilities to automatically build software, install files + into binary packages, fix file permissions, and strip binary files. -- cgit v0.9.1