From 4a69f25cd43ccc23e732092b9d01806afecfa15b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 21 Jun 2012 13:56:39 -0400 Subject: Initial commit. --- diff --git a/build b/build new file mode 100755 index 0000000..fcda0d5 --- /dev/null +++ b/build @@ -0,0 +1,43 @@ +#! /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 $@ diff --git a/changelog b/changelog new file mode 100644 index 0000000..a51121a --- /dev/null +++ b/changelog @@ -0,0 +1,5 @@ +opkhelper-default (1.0) + + * Initial release. + + -- P. J. McDermott Thu, 21 Jun 2012 13:14:00 -0400 diff --git a/control b/control new file mode 100644 index 0000000..4d4c754 --- /dev/null +++ b/control @@ -0,0 +1,3 @@ +Source: opkhelper-default +Version: 1.0 +Maintainer: "P. J. McDermott" diff --git a/copyright b/copyright new file mode 100644 index 0000000..dbbbdb7 --- /dev/null +++ b/copyright @@ -0,0 +1,10 @@ +Distribution Packaging +====================== + +Copyright (C) 2012 Patrick "P. J." McDermott + +These files may be reproduced, distributed, modified, and otherwise dealt in +under the terms of the Expat/MIT License. + +On this system, a copy of the Expat License may be found at +. diff --git a/format b/format new file mode 100644 index 0000000..d3827e7 --- /dev/null +++ b/format @@ -0,0 +1 @@ +1.0 diff --git a/opkhelper-doc.pkg/control b/opkhelper-doc.pkg/control new file mode 100644 index 0000000..a345d3b --- /dev/null +++ b/opkhelper-doc.pkg/control @@ -0,0 +1,9 @@ +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". + . + This package depends on the default version of the opkg build helper tools + documentation. diff --git a/opkhelper-doc.pkg/install b/opkhelper-doc.pkg/install new file mode 100644 index 0000000..0ddb634 --- /dev/null +++ b/opkhelper-doc.pkg/install @@ -0,0 +1 @@ +/usr/share/man diff --git a/opkhelper.pkg/control b/opkhelper.pkg/control new file mode 100644 index 0000000..01b2474 --- /dev/null +++ b/opkhelper.pkg/control @@ -0,0 +1,8 @@ +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". + . + This package depends on the default version of the opkg build helper tools. diff --git a/opkhelper.pkg/install b/opkhelper.pkg/install new file mode 100644 index 0000000..415f082 --- /dev/null +++ b/opkhelper.pkg/install @@ -0,0 +1 @@ +/usr/bin diff --git a/src/.dummy b/src/.dummy new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/.dummy -- cgit v0.9.1