SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "obconf"

# SliTaz package receipt.

PACKAGE="obconf"
VERSION="2.0.3"
CATEGORY="x-window"
SHORT_DESC="Openbox WM configuration interface."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://icculus.org/openbox/"
WGET_URL="http://icculus.org/openbox/obconf/$TARBALL"
TAGS="openbox"

DEPENDS="openbox gtk+ libglade shared-mime-info xorg-libXdamage \
startup-notification"
BUILD_DEPENDS="xorg-dev gtk+-dev libglade-dev openbox-dev \
startup-notification-dev"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure $CONFIGURE_ARGS &&
    sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/applications
    cp -a $stuff/obconf.desktop $fs/usr/share/applications
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/usr/share/obconf $fs/usr/share
    cp -a stuff/mime $fs/usr/share
    touch $fs/usr/share/mime/x-openbox-theme.xml
    touch $fs/usr/share/mime/x-vbscript.xml
    touch $fs/usr/share/mime/x-ms-win-installer.xml
}

# Update mime database.
post_install()
{
    chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)