[ Thread Index |
Date Index
| More lists.tuxfamily.org/slitaz Archives
]
- To: slitaz@xxxxxxxxxxxxxxxxxxx
- Subject: Re: Magnifying Glass
- From: "Chadi El Ahmad" <chadi.elahmad@xxxxxxxxx>
- Date: Sat, 26 Jul 2008 16:43:56 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=xrxbVJCCGGxq/DbApxd2XZit5/8+rIAs7CnC+QfRgqI=; b=r8SDADjYhV4kbunfAn5ZXzovEfZv0NPglm1czgywegzExZpgCsoSYH5yKLTjvaR2/N oqILvVuflBTTLnDbT1LhQl5Cnd9iuviKOiSLY0bXx+oi3HYr/qZ3FX9LG7rRBntpx8IW eqYo+9hE+xB4PI0aDB8n01bBiNnNgSxAsa4ZM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=v1OgGocZSFXChxh3QjAsju8XQFK5DeCbx/w6pseUlNszGVG8wLAeQs1Swf2llFmj47 2gpEIdBlDzWyMy2j8lJ/mK3eg3bRCuJpMxWpX7ZWpdgsJfXN+a2K8YiJLz0pMJeG4z8H ce89x3XfHI8jSB07RYIUw2oyTY/FJY/+cgZk4=
You can use the variable $SOURCE. Then $src and the other variables
will be set properly to $SOURCE-$VERSION. Check the source code of
/usr/bin/tazwok for more details.
PACKAGE="magnifier"
SOURCE="magnifier-linux"
VERSION="3.3.1"
CATEGORY="utilities"
SHORT_DESC="screen magnifier"
MAINTAINER="paul@xxxxxxxxxx"
TARBALL="$SOURCE-$VERSION.tar.bz2"
.......etc......
Instead of providing the .desktop file separately as it is not
included in the archive, you can generate it in the genpkg_rules()
genpkg_rules()
{
cat > $_pkg/usr/share/applications/magnifier.desktop <<EOF
[Desktop Entry]
Encoding=UTF-8
Name=Magnifying Glass
Name[fr]=Loupe
Comment=Screen Magnifier.
Exec=vmg
Icon=icon3.png
Type=Application
Categories=Utility;
EOF
.......etc......
Regards
Chadi.
On Sat, Jul 26, 2008 at 3:44 PM, Paul Issott <paul@xxxxxxxxxxxxxxxxxxx> wrote:
> Hi guys, I've just finished receipt and it seems to install OK.
>
> However I've had to hack the receipt because of a non-standard $TARBALL
> name. Is there an easier way to do this?
>
> Thanks
>
> Paul
>
---
SliTaz GNU/Linux Mailing list - http://www.slitaz.org/