wok-current view wammu/receipt @ rev 24811
updated libnet and libnet-dev (1.1.6 -> 1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 17:08:36 2022 +0100 (2022-03-22) |
parents | f51604223163 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="wammu"
4 VERSION="0.44"
5 CATEGORY="system-tools"
6 TAGS="bluetooth"
7 SHORT_DESC="Mobile phone manager."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://wammu.eu/wammu/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/gammu/$PACKAGE/$VERSION/$TARBALL"
15 DEPENDS="python-six python-gammu python-pybluez wxpython"
16 BUILD_DEPENDS="gammu-dev python-dev python-setuptools wxpython-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/gammu/wammu/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py build &&
29 python setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 cp -a $install/usr/share/Wammu $fs/usr/share
40 cp -a $install/usr/share/locale $fs/usr/share
41 }