blob: c14d6b71d9aeada5294f8c7144862a20e5c82498 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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"
|