diff options
author | P. J. McDermott <pjm@nac.net> | 2012-10-04 23:08:36 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-10-04 23:08:36 (EDT) |
commit | c58e092b8a357f5d0f19e427f74421f4df2c1b59 (patch) | |
tree | 17d8a69da0cd70fa0f9526e602f2114074dd0697 | |
parent | e51c1d4baa4612348413479385d4d9391095972f (diff) |
Remove old genopkg.sh script.
This isn't needed to test opkbuild anymore, since:
* Build dependency checking can be disabled with the "-d" option and
* libopkbuild directly queries the filesystem for arch and plat
information.
-rw-r--r-- | Makefile.in | 3 | ||||
-rwxr-xr-x | genopkg.sh | 30 |
2 files changed, 1 insertions, 32 deletions
diff --git a/Makefile.in b/Makefile.in index 0b45297..5a0b0c7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -44,8 +44,7 @@ MACROS = \ 'metadata=$(metadata)' distdir = $(package_name)-$(package_version) -distfiles = configure Makefile.in COPYING README INSTALL ChangeLog TODO \ - genopkg.sh +distfiles = configure Makefile.in COPYING README INSTALL ChangeLog TODO .SUFFIXES: diff --git a/genopkg.sh b/genopkg.sh deleted file mode 100755 index 285740a..0000000 --- a/genopkg.sh +++ /dev/null @@ -1,30 +0,0 @@ -#! /bin/sh -# genopkg.sh -# Writes a simple shell script that simulates commands of opkg used by -# opkhelper. This is useful to break the circular dependency in which building -# source packages requires opkhelper and opkhelper depends on opkg already being -# installed. - -if [ ${#} -ne 2 ]; then - printf 'Usage: %s platform architecture\n' "${0}" - exit 1 -fi -platform=${1} -arch=${2} - -cat > /usr/local/bin/opkg <<EOF -#! /bin/sh - -case "\${1}" in - status) - printf 'Package: %s\n' "\${2}" - ;; - print-architecture) - cat <<EOO -arch all 100 -arch ${platform} 200 -arch ${arch} 300 -EOO - ;; -esac -EOF |