summaryrefslogtreecommitdiff
path: root/user/ftmenu
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-09 05:44:49 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-09 05:44:49 +0000
commit73a0ca55d8be33cce8dde0c35e4273c9bbd6a01e (patch)
treecdf90ca6b5cba988f77e9f1539f6add967a98e27 /user/ftmenu
parent43b362a34677898baa14d2c17e184bee43a0a66d (diff)
downloadpackages-73a0ca55d8be33cce8dde0c35e4273c9bbd6a01e.tar.gz
packages-73a0ca55d8be33cce8dde0c35e4273c9bbd6a01e.tar.bz2
packages-73a0ca55d8be33cce8dde0c35e4273c9bbd6a01e.tar.xz
packages-73a0ca55d8be33cce8dde0c35e4273c9bbd6a01e.zip
user/*: Modernise / fix syntax / deps / metadata
Diffstat (limited to 'user/ftmenu')
-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
}