wok-current annotate xorg-imake/receipt @ rev 24906
updated minidlna (1.2.1 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 14:37:52 2022 +0100 (2022-04-09) |
parents | f9c3115dcaa8 |
children | 2a1d69e69015 |
rev | line source |
---|---|
pascal@355 | 1 # SliTaz package receipt. |
pascal@355 | 2 |
pascal@355 | 3 PACKAGE="xorg-imake" |
Hans-G?nter@22192 | 4 VERSION="1.0.8" |
pascal@355 | 5 CATEGORY="x-window" |
pascal@355 | 6 SHORT_DESC="X imake utility." |
pascal@355 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22192 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22192 | 10 |
pascal@355 | 11 SOURCE="imake" |
gokhlayeh@6993 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@355 | 13 WGET_URL="$XORG_MIRROR/util/$TARBALL" |
pascal@355 | 14 |
pascal@15579 | 15 DEPENDS="xorg-cf-files" |
Hans-G?nter@22192 | 16 BUILD_DEPENDS="perl pkg-config xorg-gccmakedep xorg-makedepend xorg-xproto" |
pascal@15579 | 17 |
pascal@24072 | 18 current_version() |
pascal@24072 | 19 { |
pascal@24072 | 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 22 } |
pascal@24072 | 23 |
pascal@355 | 24 # Rules to configure and make the package. |
pascal@355 | 25 compile_rules() |
pascal@355 | 26 { |
Hans-G?nter@22192 | 27 ./configure \ |
Hans-G?nter@22192 | 28 --prefix=/usr \ |
Hans-G?nter@22192 | 29 --mandir=/usr/share/man \ |
Hans-G?nter@22192 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@22192 | 31 make && |
pascal@15579 | 32 make DESTDIR=$DESTDIR install |
Hans-G?nter@22192 | 33 |
pascal@15579 | 34 chmod +x $DESTDIR/usr/bin/* |
pascal@355 | 35 } |
pascal@355 | 36 |
pascal@355 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@355 | 38 genpkg_rules() |
pascal@355 | 39 { |
pascal@355 | 40 mkdir -p $fs/usr |
pascal@15579 | 41 cp -a $install/usr/bin $fs/usr |
pascal@355 | 42 } |