summaryrefslogtreecommitdiffstats
path: root/testing/wxformbuilder/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/wxformbuilder/APKBUILD')
-rw-r--r--testing/wxformbuilder/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/wxformbuilder/APKBUILD b/testing/wxformbuilder/APKBUILD
new file mode 100644
index 000000000..c14d6b71d
--- /dev/null
+++ b/testing/wxformbuilder/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=wxformbuilder
+pkgver=3.0.57
+pkgrel=0
+pkgdesc="RAD tool for wxWidgets GUI design"
+url="http://sourceforge.net/apps/wordpress/wxformbuilder"
+arch="all"
+license="GPLv2"
+depends=""
+depends_dev=""
+makedepends="$depends_dev wxgtk-dev"
+install=""
+subpackages=""
+source="http://downloads.sourceforge.net/project/wxformbuilder/wxformbuilder-src/$pkgver/wxformbuilder-$pkgver.tar.gz
+ libdl.patch"
+
+_builddir="$srcdir"/wxformbuilder_$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
+}
+
+build() {
+ cd "$_builddir"
+ make CONFIG=Release || return 1
+}
+
+package() {
+ cd "$_builddir"
+ mkdir -p "$pkgdir"/usr
+ install/linux/wxfb_export.sh "$pkgdir"/usr || return 1
+}
+
+md5sums="77dd368b2ec4ec5a583e1ab60c344a12 wxformbuilder-3.0.57.tar.gz
+a4917ec9c4afbb848a07e6a44f6c4924 libdl.patch"