wok-stable rev 6106

Add: recorder (1.4.5)
author Alexander Medvedev <devl547@gmail.com>
date Fri Sep 03 14:13:07 2010 +0000 (2010-09-03)
parents 9321963349f3
children 779a5cde7989
files recorder/receipt recorder/stuff/Makefile
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/recorder/receipt	Fri Sep 03 14:13:07 2010 +0000
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="recorder"
     1.7 +VERSION="1.4.5"
     1.8 +CATEGORY="utilites"
     1.9 +SHORT_DESC="A simple GTK+ disc burner"
    1.10 +MAINTAINER="devl547@gmail.com"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +DEPENDS="pygtk coreutils cdrkit dvd+rw-tools"
    1.13 +BUILD_DEPENDS="pygtk-dev"
    1.14 +WEB_SITE="http://code.google.com/p/recorder/"
    1.15 +WGET_URL="http://recorder.googlecode.com/files/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	cp ../stuff/Makefile Makefile
    1.22 +	make DESTDIR=$PWD/_pkg install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr
    1.29 +	cp -a $_pkg/usr/bin $fs/usr/
    1.30 +	cp -a $_pkg/usr/share $fs/usr/
    1.31 +}
    1.32 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/recorder/stuff/Makefile	Fri Sep 03 14:13:07 2010 +0000
     2.3 @@ -0,0 +1,20 @@
     2.4 +# recorder Makefile
     2.5 +INSTALL ?= install
     2.6 +MAKE ?= make
     2.7 +RM ?= rm
     2.8 +RMDIR ?= rmdir
     2.9 +prefix ?= /usr
    2.10 +
    2.11 +PREFIX = $(DESTDIR)$(prefix)
    2.12 +BINDIR = $(PREFIX)/bin
    2.13 +APPDIR = $(PREFIX)/share/applications
    2.14 +ICONDIR = $(PREFIX)/share/pixmaps
    2.15 +LOCALEDIR = $(PREFIX)/share/locale
    2.16 +
    2.17 +install:
    2.18 +	$(INSTALL) -m 755 -d $(BINDIR) $(APPDIR) $(ICONDIR)
    2.19 +	$(INSTALL) -m 644 recorder.png $(ICONDIR)
    2.20 +	$(INSTALL) -m 644 recorder.desktop $(APPDIR)
    2.21 +	$(INSTALL) -m 755 recorder $(BINDIR)
    2.22 +
    2.23 +.PHONY: help install