wok-6.x view wammu/receipt @ rev 25556
created recipes for nted and nted-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 22 14:54:15 2023 +0100 (19 months ago) |
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 }