wok annotate xorg-libFS/receipt @ rev 25070

created recipe for alsa-utils-lang
author Hans-G?nter Theisgen
date Sat Jun 11 08:40:38 2022 +0100 (2022-06-11)
parents c38f6bd312dc
children
rev   line source
pascal@14627 1 # SliTaz package receipt.
pascal@14627 2
pascal@14627 3 PACKAGE="xorg-libFS"
Hans-G?nter@22195 4 VERSION="1.0.8"
pascal@14627 5 CATEGORY="x-window"
Hans-G?nter@22195 6 SHORT_DESC="Library Interface to the X Font Server."
pascal@14627 7 MAINTAINER="pascal.bellard@slitaz.org"
al@14637 8 LICENSE="other"
Hans-G?nter@22195 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22195 10
slaxemulator@14639 11 SOURCE="libFS"
slaxemulator@14639 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@14627 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
pascal@14627 14
al@14637 15 DEPENDS="glibc-base"
Hans-G?nter@22195 16 BUILD_DEPENDS="xorg-fontsproto xorg-util-macros xorg-xproto xorg-xtrans"
pascal@14627 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@14627 24 # Rules to configure and make the package.
pascal@14627 25 compile_rules()
pascal@14627 26 {
Hans-G?nter@22195 27 ./configure \
Hans-G?nter@22195 28 --sysconfdir=/etc \
Hans-G?nter@22195 29 --localstatedir=/var \
Hans-G?nter@22195 30 --disable-static \
pascal@14627 31 $CONFIGURE_ARGS &&
al@14637 32 make &&
al@14637 33 make install
pascal@14627 34 }
pascal@14627 35
pascal@14627 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14627 37 genpkg_rules()
pascal@14627 38 {
pascal@14627 39 mkdir -p $fs/usr/lib
pascal@14627 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14627 41 }