diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-04-14 15:47:26 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-04-14 15:48:04 +0200 |
commit | 41dc189d256d90aa5efaef1a858991133482767e (patch) | |
tree | a6afeabe802edd6a999da9100e46046e68bedb8c /testing | |
parent | 655e47553f07ae9d542c276acc56c79a8b5a30ba (diff) | |
download | aports-41dc189d256d90aa5efaef1a858991133482767e.tar.bz2 aports-41dc189d256d90aa5efaef1a858991133482767e.tar.xz |
community/stlink: move from testing
Diffstat (limited to 'testing')
-rw-r--r-- | testing/stlink/APKBUILD | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/testing/stlink/APKBUILD b/testing/stlink/APKBUILD deleted file mode 100644 index 73410a5c84..0000000000 --- a/testing/stlink/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> -# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> -pkgname=stlink -pkgver=1.5.0 -pkgrel=0 -pkgdesc="STM32 discovery line linux programmer" -url="https://github.com/texane/stlink" -arch="all" -license="MIT" -depends="" -depends_dev="" -makedepends="cmake libusb-dev" -install="" -options="!check" # upstream doesn't have automated tests -subpackages="$pkgname-doc $pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/texane/$pkgname/archive/$pkgver.tar.gz" - -builddir="$srcdir"/$pkgname-$pkgver -build() { - cd "$builddir" - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DBUILD_SHARED_LIBS=True \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ - -DCMAKE_C_FLAGS="$CFLAGS -Wno-error=cpp" - make -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install - - mkdir -p "$pkgdir"/usr/share/doc/$pkgname - install -m644 README.md ChangeLog.md doc/tutorial.md \ - "$pkgdir"/usr/share/doc/$pkgname/ -} - -sha512sums="0e93c0fdcd377c6f2d452b9b6fa00b741dc0dd906673773ef09185aca4f63930db61e137bb28c47e34218edca9f7a80cd05352fb8f9d8e50b000c779cc36580a stlink-1.5.0.tar.gz" |