wok-next annotate gammu/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@20459 | 1 # SliTaz package receipt v2. |
pankso@5674 | 2 |
pankso@5674 | 3 PACKAGE="gammu" |
Hans-G?nter@21272 | 4 VERSION="1.41.0" |
pankso@5674 | 5 CATEGORY="system-tools" |
pankso@5674 | 6 SHORT_DESC="Library and utility to control cell phone" |
Hans-G?nter@21272 | 7 MAINTAINER="maintainer@slitaz.org" |
pascal@15255 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="https://wammu.eu/gammu/" |
al@20459 | 10 |
pankso@5674 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@21020 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@5674 | 13 |
Hans-G?nter@21272 | 14 BUILD_DEPENDS="bluez cmake libcurl libusb-compat sqlite3" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pascal@15255 | 16 |
Hans-G?nter@21272 | 17 compile_rules() |
Hans-G?nter@21272 | 18 { |
al@20956 | 19 mkdir build |
al@20956 | 20 cd build |
Hans-G?nter@21272 | 21 cmake .. \ |
Hans-G?nter@21272 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@21272 | 23 -DBUILD_SHARED_LIBS=ON && |
pankso@5674 | 24 make && |
al@21020 | 25 make DESTDIR=$install install |
pankso@5674 | 26 } |
pankso@5674 | 27 |
Hans-G?nter@21272 | 28 genpkg_rules() |
Hans-G?nter@21272 | 29 { |
al@20459 | 30 case $PACKAGE in |
al@20459 | 31 gammu) |
al@20956 | 32 copy @std |
Hans-G?nter@21272 | 33 DEPENDS="bluez libcurl libusb-compat sqlite3" |
al@20459 | 34 ;; |
al@20459 | 35 *-dev) |
al@20956 | 36 copy @dev |
al@20459 | 37 ;; |
al@20459 | 38 esac |
pankso@5674 | 39 } |