summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-12-19 12:22:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-01-19 13:40:56 +0000
commit2419e5026e52eeaa38011efbb9f34a61a13c28e8 (patch)
treeebf4a838fe93bfd8b7f0d37667415e10102f35e0
parentbdace10aa60c7f0e3c4aa48a7105df514c075402 (diff)
downloadabuild-2419e5026e52eeaa38011efbb9f34a61a13c28e8.tar.gz
abuild-2419e5026e52eeaa38011efbb9f34a61a13c28e8.tar.bz2
abuild-2419e5026e52eeaa38011efbb9f34a61a13c28e8.tar.xz
abuild-2419e5026e52eeaa38011efbb9f34a61a13c28e8.zip
devbuild: removed. has not been used for many years
-rw-r--r--Makefile5
-rwxr-xr-xdevbuild.in61
2 files changed, 2 insertions, 64 deletions
diff --git a/Makefile b/Makefile
index 0a670d8..4c48bb4 100644
--- a/Makefile
+++ b/Makefile
@@ -10,9 +10,8 @@ abuildrepo ?= ~/.cache/abuild
LUA_VERSION = 5.1
LUA_SHAREDIR ?= $(prefix)/share/lua/$(LUA_VERSION)/
-SCRIPTS := abuild devbuild buildrepo abuild-keygen \
- abuild-sign newapkbuild abump apkgrel ap buildlab \
- apkbuild-cpan
+SCRIPTS := abuild buildrepo abuild-keygen abuild-sign newapkbuild \
+ abump apkgrel ap buildlab apkbuild-cpan
USR_BIN_FILES := $(SCRIPTS) abuild-tar
SAMPLES := sample.APKBUILD sample.initd sample.confd \
sample.pre-install sample.post-install
diff --git a/devbuild.in b/devbuild.in
deleted file mode 100755
index 054d02d..0000000
--- a/devbuild.in
+++ /dev/null
@@ -1,61 +0,0 @@
-#!/bin/sh
-
-# This scripts will:
-# 1. create a dist package for current subproject
-# 2. update the APKBUILD and build the package
-# 3. build the alpine iso
-#
-# The following is assumed from the subproject:
-# * that PACKAGE and VERSION is set in Makefile or defined in a local
-# devbuild.conf file
-# * that 'make dist' will generate a valid dist package
-#
-
-program=${0##*/}
-
-# rebuild env. Those values can be overridden in either
-# /etc/devbuildrc or $HOME/.devbuildrc
-DISTFILES=/var/cache/distfiles
-APORTS_DIR=$HOME/aports
-ALPINE_DIR=$HOME/abuild
-
-# for the local project. Those values can be overridden by
-# a .devbuildrc in the subprojects dir
-PACKAGE=$(grep '^PACKAGE' Makefile | sed 's/.*=[[:blank:]]*//')
-VERSION=$(grep '^VERSION' Makefile | sed 's/.*=[[:blank:]]*//')
-SUFFIX=.tar.bz2
-REPO=core
-
-# let user override the above defaults
-for i in /etc/${program}rc $HOME/.${program}rc ./.${program}rc; do
- if [ -f $i ]; then
- . $i
- fi
-done
-
-# generate a new dist package
-tarball=${PACKAGE}-${VERSION}${SUFFIX}
-make dist || exit 1
-cp $tarball "$DISTFILES/" || exit 1
-
-# update the APKBUILD, in a subshell
-(
- cd $APORTS_DIR/$REPO/$PACKAGE || exit 1
- . ./APKBUILD
- if [ "$pkgver" = "$VERSION" ]; then
- pkgrel=$(( $pkgrel + 1 ))
- else
- pkgrel="0"
- fi
- sed -i -e " s/^pkgver=.*/pkgver=$VERSION/;
- s/^pkgrel=.*/pkgrel=$pkgrel/;
- /^md5sums=\"/,/\"\$/d" APKBUILD || exit 1
- export SRCDEST="$DISTFILES"
- abuild checksum
- abuild
- abuild cleanoldpkg
-) || exit 1
-
-# rebuild the iso
-cd "$ALPINE_DIR" && fakeroot ./mkalpine
-