wok-6.x rev 18473

Add tazpkg-test(844): beta release of the tazpkg
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 05 04:01:02 2015 +0300 (2015-10-05)
parents b62f93de1a4e
children e715990c5f63
files tazpkg-test/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tazpkg-test/receipt	Mon Oct 05 04:01:02 2015 +0300
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="tazpkg-test"
     1.7 +VERSION="844"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="SliTaz packages manager"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL3"
    1.12 +WEB_SITE="http://www.slitaz.org/"
    1.13 +TARBALL="tazpkg-$VERSION.tar.gz"
    1.14 +WGET_URL="http://hg.slitaz.org/tazpkg/archive/$VERSION.tar.gz"
    1.15 +PROVIDE="tazpkg"
    1.16 +TAGS="slitaz package-manager"
    1.17 +
    1.18 +DEPENDS="busybox gettext-base"
    1.19 +SUGGESTED="tazpanel"
    1.20 +BUILD_DEPENDS="gettext"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	make && make DESTDIR=$DESTDIR VERSION=$VERSION install
    1.26 +}
    1.27 +
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	cp -a $install/* $fs
    1.31 +	chown -R root.root $fs
    1.32 +
    1.33 +	# Default icon for mimetype (freedesktop standard compliant file
    1.34 +	# manager will diplay a tazpkg icon for SliTaz packages).
    1.35 +	icons="$fs/usr/share/icons/hicolor/32x32/mimetypes"
    1.36 +	mkdir -p $icons
    1.37 +	ln -s ../apps/tazpkg.png $icons/application-x-tazpkg.png
    1.38 +}