wok-next annotate gtkpod/receipt @ rev 21104
make: patch from LFS
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:26:16 2019 +0200 (2019-01-03) |
parents | a3c581bf52b8 |
children |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
jozee@2859 | 2 |
jozee@2859 | 3 PACKAGE="gtkpod" |
slaxemulator@6348 | 4 VERSION="1.0.0" |
jozee@2859 | 5 CATEGORY="multimedia" |
al@21020 | 6 SHORT_DESC="Platform independent GUI for Apple's iPod using GTK2" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15589 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="http://www.gtkpod.org/wiki/Home" |
al@21020 | 10 |
jozee@2859 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2859 | 12 WGET_URL="$SF_MIRROR/gtkpod/$TARBALL" |
jozee@2859 | 13 |
al@21020 | 14 BUILD_DEPENDS="flex libgpod-dev libid3tag-dev flac-dev libvorbis-dev curl \ |
al@21020 | 15 curl-dev libglade-dev intltool libplist-dev" |
pascal@15589 | 16 |
al@21020 | 17 compile_rules() { |
al@21020 | 18 ./configure \ |
al@21020 | 19 --prefix=/usr \ |
al@21020 | 20 $CONFIGURE_ARGS && |
pascal@2861 | 21 make && |
al@21020 | 22 make DESTDIR=$install install |
jozee@2859 | 23 } |
jozee@2859 | 24 |
al@21020 | 25 genpkg_rules() { |
jozee@2859 | 26 mkdir -p $fs/usr/share/$PACKAGE/icons/hicolor $fs/usr/share/pixmaps |
pascal@15589 | 27 cp -a $install/usr/bin $fs/usr |
al@21020 | 28 cp -a $install/usr/share/$PACKAGE/data $fs/usr/share/$PACKAGE |
al@21020 | 29 cp -a $install/usr/share/$PACKAGE/scripts $fs/usr/share/$PACKAGE |
pascal@15589 | 30 cp -a $install/usr/share/$PACKAGE/icons/hicolor/16x16 \ |
pascal@2861 | 31 $fs/usr/share/$PACKAGE/icons/hicolor |
pascal@15589 | 32 cp $install/usr/share/icons/hicolor/48x48/apps/gtkpod.png \ |
jozee@2859 | 33 $fs/usr/share/pixmaps/gtkpod.png |
al@21020 | 34 DEPENDS="libgpod libid3tag flac libvorbis curl libglade hal" |
jozee@2859 | 35 } |