wok-6.x annotate echinus/receipt @ rev 24757
pkg-config: cheat configure
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 18 06:53:58 2022 +0100 (2022-03-18) |
parents | e0cd03fb1239 |
children |
rev | line source |
---|---|
devl547@5632 | 1 # SliTaz package receipt. |
devl547@5632 | 2 |
devl547@5632 | 3 PACKAGE="echinus" |
Hans-G?nter@20864 | 4 VERSION="0.4.9" |
devl547@5632 | 5 CATEGORY="x-window" |
Hans-G?nter@20864 | 6 TAGS="window-manager" |
devl547@5632 | 7 SHORT_DESC="A window manager for X in the spirit of dwm" |
devl547@5632 | 8 MAINTAINER="devl547@gmail.com" |
pascal@15588 | 9 LICENSE="MIT" |
Hans-G?nter@20864 | 10 WEB_SITE="https://plhk.ru/" |
Hans-G?nter@20864 | 11 |
devl547@5632 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20866 | 13 WGET_URL="${WEB_SITE}static/$PACKAGE/$TARBALL" |
pascal@15588 | 14 |
pascal@8940 | 15 BUILD_DEPENDS="xorg-libX11-dev xorg-libXft-dev xorg-libXrandr-dev" |
devl547@5632 | 16 DEPENDS="xorg-libX11 xorg-libXft" |
devl547@5632 | 17 |
pascal@24433 | 18 # What is the latest version available today? |
pascal@24433 | 19 current_version() |
pascal@24433 | 20 { |
pascal@24433 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24433 | 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24433 | 23 } |
pascal@24433 | 24 |
devl547@5632 | 25 # Rules to configure and make the package. |
devl547@5632 | 26 compile_rules() |
devl547@5632 | 27 { |
slaxemulator@9700 | 28 cp $stuff/config.mk config.mk |
Hans-G?nter@20864 | 29 make -j 1 && |
Hans-G?nter@20864 | 30 make install \ |
Hans-G?nter@20864 | 31 DESTDIR=$DESTDIR \ |
Hans-G?nter@20864 | 32 BINPREFIX=/usr/bin \ |
Hans-G?nter@20864 | 33 CONFPREFIX=/usr/share/examples |
devl547@5632 | 34 } |
devl547@5632 | 35 |
devl547@5632 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5632 | 37 genpkg_rules() |
devl547@5632 | 38 { |
devl547@5632 | 39 mkdir -p $fs/usr/share |
pascal@15588 | 40 cp -a $install/usr/bin $fs/usr |
pascal@15588 | 41 cp -a $install/usr/share/examples $fs/usr/share |
devl547@5632 | 42 } |