aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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