aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 08:21:32 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 08:21:32 +0000
commit85088abd96ce396e6daac5d268dfcc19ccfd2467 (patch)
tree6d6e52573a003affa87cc8a93abaa009f524190c
parent55963d969dcdb8951fe535dea8ae9e4fc0a95427 (diff)
downloadaports-85088abd96ce396e6daac5d268dfcc19ccfd2467.tar.bz2
aports-85088abd96ce396e6daac5d268dfcc19ccfd2467.tar.xz
community/cgmanager: moved from testing
-rw-r--r--community/cgmanager/APKBUILD (renamed from testing/cgmanager/APKBUILD)15
-rw-r--r--community/cgmanager/cgmanager.initd (renamed from testing/cgmanager/cgmanager.initd)0
-rw-r--r--community/cgmanager/cgproxy.initd (renamed from testing/cgmanager/cgproxy.initd)0
3 files changed, 3 insertions, 12 deletions
diff --git a/testing/cgmanager/APKBUILD b/community/cgmanager/APKBUILD
index 8c969f5017..d2c42e3a9c 100644
--- a/testing/cgmanager/APKBUILD
+++ b/community/cgmanager/APKBUILD
@@ -16,19 +16,10 @@ source="https://linuxcontainers.org/downloads/cgmanager/cgmanager-$pkgver.tar.gz
cgmanager.initd
cgproxy.initd"
-_builddir="$srcdir"/cgmanager-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/cgmanager-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -43,7 +34,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
install -Dm755 "$srcdir"/cgmanager.initd \
diff --git a/testing/cgmanager/cgmanager.initd b/community/cgmanager/cgmanager.initd
index 9088f9280e..9088f9280e 100644
--- a/testing/cgmanager/cgmanager.initd
+++ b/community/cgmanager/cgmanager.initd
diff --git a/testing/cgmanager/cgproxy.initd b/community/cgmanager/cgproxy.initd
index 18bdbcd9a6..18bdbcd9a6 100644
--- a/testing/cgmanager/cgproxy.initd
+++ b/community/cgmanager/cgproxy.initd