rev |
line source |
jozee@2859
|
1 # SliTaz package receipt.
|
jozee@2859
|
2
|
jozee@2859
|
3 PACKAGE="gtkpod"
|
jozee@2859
|
4 VERSION="0.99.14"
|
jozee@2859
|
5 CATEGORY="multimedia"
|
jozee@2859
|
6 SHORT_DESC="platform independent GUI for Apple's iPod using GTK2"
|
jozee@2859
|
7 MAINTAINER="jozee@slitaz.org"
|
jozee@2859
|
8 DEPENDS="libgpod libid3tag flac libvorbis curl libglade"
|
jozee@2859
|
9 BUILD_DEPENDS="flex libgpod-dev libid3tag-dev flac-dev libvorbis-dev curl curl-dev libglade-dev"
|
jozee@2859
|
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
|
jozee@2859
|
11 WEB_SITE="http://www.gtkpod.org/"
|
jozee@2859
|
12 WGET_URL="$SF_MIRROR/gtkpod/$TARBALL"
|
jozee@2859
|
13
|
jozee@2859
|
14 # Rules to configure and make the package.
|
jozee@2859
|
15 compile_rules()
|
jozee@2859
|
16 {
|
jozee@2859
|
17 cd $src
|
jozee@2859
|
18 ./configure --prefix=/usr &&
|
jozee@2859
|
19 make &&
|
jozee@2859
|
20 make DESTDIR=$PWD/_pkg install
|
jozee@2859
|
21 }
|
jozee@2859
|
22
|
jozee@2859
|
23 # Rules to gen a SliTaz package suitable for Tazpkg.
|
jozee@2859
|
24 genpkg_rules()
|
jozee@2859
|
25 {
|
jozee@2859
|
26 mkdir -p $fs/usr/share/$PACKAGE/icons/hicolor $fs/usr/share/pixmaps
|
jozee@2859
|
27 cp -a $_pkg/usr/bin $fs/usr
|
jozee@2859
|
28 cp -a $_pkg/usr/share/$PACKAGE/data $fs/usr/share/$PACKAGE
|
jozee@2859
|
29 cp -a $_pkg/usr/share/$PACKAGE/scripts $fs/usr/share/$PACKAGE
|
jozee@2859
|
30 cp -a $_pkg/usr/share/$PACKAGE/icons/hicolor/16x16 $fs/usr/share/$PACKAGE/icons/hicolor
|
jozee@2859
|
31 cp $_pkg/usr/share/icons/hicolor/48x48/apps/gtkpod.png \
|
jozee@2859
|
32 $fs/usr/share/pixmaps/gtkpod.png
|
jozee@2859
|
33 }
|