wok-current annotate purple-facebook/receipt @ rev 24065
grub2: declared CONFIG_FILES
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 20 14:41:40 2021 +0100 (2021-06-20) |
parents | 96cf6f4e78d1 |
children |
rev | line source |
---|---|
mojo@20833 | 1 # SliTaz package receipt. |
mojo@20833 | 2 |
mojo@20833 | 3 PACKAGE="purple-facebook" |
mojo@20833 | 4 VERSION="0.9.6" |
mojo@20833 | 5 CATEGORY="network" |
mojo@20833 | 6 SHORT_DESC="Facebook chat plugin for Pidgin and libpurple messengers." |
mojo@20833 | 7 MAINTAINER="mojo@slitaz.org" |
mojo@20833 | 8 LICENSE="GPL3" |
mojo@20833 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mojo@20833 | 10 WEB_SITE="https://github.com/dequis/purple-facebook" |
mojo@20833 | 11 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL" |
mojo@20833 | 12 |
mojo@20833 | 13 DEPENDS="pidgin zip json-glib" |
mojo@20833 | 14 BUILD_DEPENDS="libpurple-dev json-glib-dev zlib-dev unzip pidgin" |
mojo@20833 | 15 |
pascal@24055 | 16 current_version() |
pascal@24055 | 17 { |
pascal@24055 | 18 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
mojo@20833 | 22 # Rules to configure and make the package. |
mojo@20833 | 23 compile_rules() |
mojo@20833 | 24 { |
mojo@20834 | 25 ./configure --prefix=/usr |
mojo@20834 | 26 make && |
mojo@20833 | 27 make DESTDIR=$DESTDIR install |
mojo@20833 | 28 } |
mojo@20833 | 29 |
mojo@20833 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
mojo@20833 | 31 genpkg_rules() |
mojo@20833 | 32 { |
mojo@20833 | 33 mkdir -p $fs/usr/lib/purple-2 |
mojo@20833 | 34 cp -a $install/usr/lib/purple-2/*.so* $fs/usr/lib/purple-2 |
mojo@20833 | 35 } |
mojo@20833 | 36 |