SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "fritzing"

# SliTaz package receipt.

PACKAGE="fritzing"
VERSION="0.9.3b"
CATEGORY="development"
SHORT_DESC="Electronic Design Automation software; from prototype to product."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2 GPL3 CC-BY-SA"
WEB_SITE="https://fritzing.org"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/$PACKAGE/fritzing-app/archive/$VERSION.tar.gz"

DEPENDS="libboost-graph libQtCore libQtXml quazip"
BUILD_DEPENDS="libboost-dev libboost-graph-dev qmake Qt4-dev libQtNetwork \
quazip-dev"
HOST_ARCH="i486"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    qmake &&
    make -j 1 &&
    make INSTALL_ROOT=$install install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin $fs/usr/share
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/share/${PACKAGE} $fs/usr/share
    cp -a $install/usr/share/icons $fs/usr/share/pixmaps
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)