summaryrefslogtreecommitdiff
path: root/user/ftmenu/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/ftmenu/APKBUILD')
-rw-r--r--user/ftmenu/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/user/ftmenu/APKBUILD b/user/ftmenu/APKBUILD
index 3f8e2d157..b5c291a24 100644
--- a/user/ftmenu/APKBUILD
+++ b/user/ftmenu/APKBUILD
@@ -9,13 +9,17 @@ arch="all"
options="!check" # there is currently no testsuite to run
license="GPL-3.0-only"
depends=""
-makedepends="gtk+2.0-dev"
+makedepends="autoconf automake gtk+2.0-dev libtool"
source="https://downloads.sourceforge.net/project/ftmenu/ftmenu/ftmenu-0.4/ftmenu-$pkgver.tar.gz
- include-stdlib.patch"
+ include-stdlib.patch
+ "
-build() {
- cd "$builddir"
+prepare() {
+ default_prepare
autoreconf -if
+}
+
+build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -27,12 +31,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}