wok annotate openmotif/receipt @ rev 24496
updated dosfstools (4.1 -> 4.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 19 14:05:47 2022 +0100 (2022-02-19) |
parents | 381f759402e1 |
children | 29df00e1e19d |
rev | line source |
---|---|
pascal@3987 | 1 # SliTaz package receipt. |
pascal@3987 | 2 |
pascal@3987 | 3 PACKAGE="openmotif" |
Hans-G?nter@21631 | 4 VERSION="2.3.8" |
Hans-G?nter@21631 | 5 CATEGORY="development" |
Hans-G?nter@21631 | 6 SHORT_DESC="Source code version of Motif under a public license." |
pascal@3987 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
Hans-G?nter@21631 | 8 LICENSE="LGPL 2.1" |
Hans-G?nter@21631 | 9 WEB_SITE="http://www.opengroup.org/openmotif/" |
Hans-G?nter@21631 | 10 |
pascal@3987 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21633 | 12 WGET_URL="$SF_MIRROR/motif/motif-$VERSION.tar.gz" |
pascal@15600 | 13 |
Hans-G?nter@21631 | 14 DEPENDS="expat fontconfig freetype jpeg libpng xorg xorg-libXft xorg-libXp" |
Hans-G?nter@21631 | 15 BUILD_DEPENDS="bison expat-dev flex fontconfig-dev freetype-dev jpeg-dev \ |
Hans-G?nter@21631 | 16 libpng-dev libxml2-dev util-linux-uuid-dev xorg-dev-proto xorg-libSM-dev \ |
Hans-G?nter@21631 | 17 xorg-libX11-dev xorg-libXft-dev xorg-libXmu xorg-libXmu-dev xorg-libXp \ |
Hans-G?nter@21631 | 18 xorg-libXrender-dev xorg-libXt-dev xorg-printproto xorg-xbitmaps \ |
Hans-G?nter@21631 | 19 xorg-xextproto xorg-xproto" |
pascal@3987 | 20 |
pascal@24396 | 21 # What is the latest version available today? |
pascal@24396 | 22 current_version() |
pascal@24396 | 23 { |
pascal@24396 | 24 wget -O - https://sourceforge.net/projects/motif/files/ 2>/dev/null | \ |
pascal@24396 | 25 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24396 | 26 sed '/scope="row/!d;s|.*/Motif%20||;s|%20.*||;q' |
pascal@24396 | 27 } |
pascal@24396 | 28 |
pascal@3987 | 29 # Rules to configure and make the package. |
pascal@3987 | 30 compile_rules() |
pascal@3987 | 31 { |
Hans-G?nter@21631 | 32 ./configure \ |
Hans-G?nter@21631 | 33 --prefix=/usr \ |
Hans-G?nter@21631 | 34 --infodir=/usr/share/info \ |
Hans-G?nter@21631 | 35 --mandir=/usr/share/man \ |
Hans-G?nter@21631 | 36 $CONFIGURE_ARGS && |
pascal@5927 | 37 make -j 1 && |
pascal@15169 | 38 make DESTDIR=$DESTDIR install |
pascal@3987 | 39 } |
pascal@3987 | 40 |
pascal@3987 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3987 | 42 genpkg_rules() |
pascal@3987 | 43 { |
pascal@3987 | 44 mkdir -p $fs/usr/lib |
Hans-G?nter@21631 | 45 |
Hans-G?nter@21631 | 46 cp -a $install/usr/bin $fs/usr |
pascal@3987 | 47 rm -f $fs/usr/bin/uil |
Hans-G?nter@21631 | 48 |
Hans-G?nter@21631 | 49 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21631 | 50 cp -a $install/usr/lib/X11 $fs/usr/lib |
pascal@3987 | 51 } |