wok view gtkpod/receipt @ rev 16573

slitaz-base-files: get ride of /var/run symlink in pre_install
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 19:14:33 2014 +0200 (2014-05-02)
parents b7319995b37e
children e3f377fbc5f0
line source
1 # SliTaz package receipt.
3 PACKAGE="gtkpod"
4 VERSION="1.0.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="platform independent GUI for Apple's iPod using GTK2"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gtkpod.org/"
11 WGET_URL="$SF_MIRROR/gtkpod/$TARBALL"
13 DEPENDS="libgpod libid3tag flac libvorbis curl libglade hal"
14 BUILD_DEPENDS="flex libgpod-dev libid3tag-dev flac-dev libvorbis-dev curl curl-dev libglade-dev intltool libplist-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/$PACKAGE/icons/hicolor $fs/usr/share/pixmaps
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/share/$PACKAGE/data $fs/usr/share/$PACKAGE
31 cp -a $install/usr/share/$PACKAGE/scripts $fs/usr/share/$PACKAGE
32 cp -a $install/usr/share/$PACKAGE/icons/hicolor/16x16 \
33 $fs/usr/share/$PACKAGE/icons/hicolor
34 cp $install/usr/share/icons/hicolor/48x48/apps/gtkpod.png \
35 $fs/usr/share/pixmaps/gtkpod.png
36 }