SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gammu"

# SliTaz package receipt.

PACKAGE="gammu"
VERSION="1.27.0"
CATEGORY="system-tools"
SHORT_DESC="Library and utility to control cell phone"
MAINTAINER="pankso@slitaz.org"
DEPENDS="bluez sqlite libusb-compat libcurl"
BUILD_DEPENDS="$DEPENDS cmake"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://wammu.eu/gammu/"
WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    mkdir -p build && cd build
    cmake \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DBUILD_SHARED_LIBS=ON .. &&
    make &&
    make DESTDIR=$src/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $_pkg/usr/bin $fs/usr
    rm $fs/usr/bin/gammu-config
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)