wok-6.x annotate lostirc/receipt @ rev 25032
giblib: modified configure parameter
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 20 10:31:08 2022 +0100 (2022-05-20) |
parents | 370da83187ab |
children | 7dd01dedad38 |
rev | line source |
---|---|
erjo@450 | 1 # SliTaz package receipt. |
erjo@450 | 2 |
erjo@450 | 3 PACKAGE="lostirc" |
erjo@450 | 4 VERSION="0.4.6" |
erjo@450 | 5 CATEGORY="network" |
erjo@450 | 6 SHORT_DESC="A simple IRC client" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
erjo@450 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@450 | 10 WEB_SITE="http://lostirc.sourceforge.net/" |
pascal@24980 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
erjo@450 | 12 |
pankso@10652 | 13 DEPENDS="glibmm cairomm gtkmm libsigc++" |
pascal@12960 | 14 BUILD_DEPENDS="glibmm-dev cairomm-dev gtkmm-dev libsigc++-dev gtk+-dev" |
pankso@9973 | 15 |
pascal@24361 | 16 # What is the latest version available today? |
pascal@24361 | 17 current_version() |
pascal@24361 | 18 { |
pascal@24361 | 19 wget -O - https://sourceforge.net/projects/lostirc/files/lostirc/ 2>/dev/null | \ |
pascal@24361 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24361 | 21 sed '/scope="row/!d;s|.*/lostirc/||;s|/.*||;q' |
pascal@24361 | 22 } |
pascal@24361 | 23 |
erjo@450 | 24 # Rules to configure and make the package. |
erjo@450 | 25 compile_rules() |
erjo@450 | 26 { |
erjo@450 | 27 cd $src |
slaxemulator@9700 | 28 busybox patch -p1 -i $stuff/gcc.u |
pascal@2518 | 29 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@2518 | 30 make && |
pascal@15000 | 31 make DESTDIR=$DESTDIR install |
erjo@450 | 32 } |
erjo@450 | 33 |
erjo@450 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@450 | 35 genpkg_rules() |
erjo@450 | 36 { |
pankso@11641 | 37 mkdir -p $fs/usr $fs/etc |
pascal@15000 | 38 cp -a $install/usr/bin $fs/usr |
pascal@11623 | 39 cp -a $stuff/skel $fs/etc |
erjo@450 | 40 } |
erjo@450 | 41 |