wok-6.x view fluxcomp/receipt @ rev 24055
Add current_version for most github hosted softwares
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 08 08:46:05 2021 +0000 (2021-06-08) |
parents | c8ca2bcc5a6e |
children | ac8ca9758df1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fluxcomp"
4 VERSION="1.4.4"
5 CATEGORY="development"
6 SHORT_DESC="Interface description language used by DirectFB"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/Distrotech/flux"
11 TARBALL="distrotech-flux-$VERSION.tar.gz"
12 WGET_URL="https://github.com/Distrotech/flux/archive/$TARBALL"
14 current_version()
15 {
16 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
17 sed '/archive.*tar/!d;s|.*/distrotech-flux-\(.*\).tar.*|\1|;q'
18 }
20 compile_rules()
21 {
22 ./configure $CONFIGURE_ARGS &&
23 # fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $install/usr/bin/* $fs/usr/bin
32 }