# SliTaz package receipt.
PACKAGE="wbarconf"
VERSION="0.7.2"
CATEGORY="system-tools"
SHORT_DESC="Configuration GUI for wbar written in Python and GTK"
MAINTAINER="blconde@zoho.com"
DEPENDS="wbar python pygtk pygobject"
BUILD_DEPENDS="wbar python-dev pygtk-dev pygobject-dev"
WEB_SITE="http://kapsi.fi/ighea/wbarconf/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="http://kapsi.fi/ighea/$PACKAGE/$TARBALL"
# Rules to configure and make the package.
compile_rules() {
cd $PACKAGE
sh ./install.sh /usr
}
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
mkdir -p $fs/usr/bin
cp -a $PACKAGE/wbarconf $fs/usr/bin
mkdir -p $fs/usr/share/wbarconf
cp -a $PACKAGE/README $fs/usr/share/wbarconf
cp -a $PACKAGE/COPYING $fs/usr/share/wbarconf
mkdir -p $fs/usr/share/locale
cp -a $PACKAGE/locale/* $fs/usr/share/locale
cp -a $PACKAGE/messages.pot $fs/usr/share/wbarconf
cp -a $PACKAGE/wbarbacks $fs/usr/share/wbarconf
mkdir -p $fs/usr/share/pixmaps
cp -a $PACKAGE/wbarconf.png $fs/usr/share/pixmaps
mkdir -p $fs/usr/share/applications
cp -a $PACKAGE/wbarconf.desktop $fs/usr/share/applications
}
cp -av locale/* $startdir/share/locale/ || return 1
cp -av wbarbacks $startdir/share/wbarconf/ || return 1
cp: invalid option -- 'v'
BusyBox v1.12.0 (2010-03-12 18:25:03 CET) multi-call binary
Usage: cp [OPTION]... SOURCE DEST
Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY
Options:
-a Same as -dpR
-d,-P Preserve links
-H,-L Dereference all symlinks (default)
-p Preserve file attributes if possible
-f Force overwrite
-i Prompt before overwrite
-R,-r Recurse directories
-l,-s Create (sym)links
./install.sh: line 22: return: not found
cp: invalid option -- 'v'
BusyBox v1.12.0 (2010-03-12 18:25:03 CET) multi-call binary
Usage: cp [OPTION]... SOURCE DEST
Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY
Options:
-a Same as -dpR
-d,-P Preserve links
-H,-L Dereference all symlinks (default)
-p Preserve file attributes if possible
-f Force overwrite
-i Prompt before overwrite
-R,-r Recurse directories
-l,-s Create (sym)links
./install.sh: line 27: return: not found
It looks like you're new here. If you want to get involved, click one of these buttons!