aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-02 13:33:54 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-02 13:59:38 -0300
commite7870b8e9392e62fb03f3453319522e30b051534 (patch)
tree73ea472e87fd1fd2e77d93e73815401367280770
parent5b061c5ead512bb1703e3ea504b0bc99ea216cac (diff)
downloadaports-e7870b8e9392e62fb03f3453319522e30b051534.tar.gz
aports-e7870b8e9392e62fb03f3453319522e30b051534.tar.bz2
aports-e7870b8e9392e62fb03f3453319522e30b051534.tar.xz
community/gammu: modernize
-rw-r--r--community/gammu/APKBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/community/gammu/APKBUILD b/community/gammu/APKBUILD
index 3c8e7522db..20280b3d58 100644
--- a/community/gammu/APKBUILD
+++ b/community/gammu/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=gammu
pkgver=1.41.0
-pkgrel=0
+pkgrel=1
pkgdesc="Gammu provides an abstraction layer for cell phones access"
options="!check" # 466 - test_sql_time (Failed)
url="https://wammu.eu/"
@@ -19,21 +19,23 @@ source="https://dl.cihar.com/gammu/releases/gammu-$pkgver.tar.bz2
"
build() {
- cmake . -DBUILD_SHARED_LIBS=ON \
- -DCMAKE_INSTALL_PREFIX="/usr" \
+ cmake -B build . \
+ -DCMAKE_BUILD_TYPE=None \
+ -DBUILD_SHARED_LIBS=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_NOKIA_SUPPORT=ON \
-DWITH_BLUETOOTH=ON \
-DWITH_IRDA=ON \
- -DLIBINTL_LIBRARIES:STRING=intl
- make
+ -DLIBINTL_LIBRARIES=intl
+ make -C build
}
check() {
- make test
+ make -C build test
}
package() {
- make DESTDIR="$pkgdir" install
+ make -C build DESTDIR="$pkgdir" install
}
_smsd() {