wok annotate udftools/receipt @ rev 23593
python-pysol-cards: added build dependency
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 08 11:15:24 2020 +0100 (2020-04-08) |
parents | e388459b49c0 |
children | 0dc6258bf1e6 |
rev | line source |
---|---|
pascal@15209 | 1 # SliTaz package receipt. |
pascal@15209 | 2 |
pascal@15209 | 3 PACKAGE="udftools" |
Hans-G?nter@22068 | 4 VERSION="2.1" |
pascal@15209 | 5 CATEGORY="utilities" |
Hans-G?nter@22068 | 6 SHORT_DESC="Linux UDF filesystem userspcae utilities." |
pascal@15209 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15209 | 8 LICENSE="GPL2" |
Hans-G?nter@22068 | 9 WEB_SITE="https://github.com/pali/udftools/" |
Hans-G?nter@22068 | 10 |
pascal@15209 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22068 | 12 WGET_URL="${WEB_SITE}archive/$VERSION.tar.gz" |
pascal@15209 | 13 |
pascal@15209 | 14 DEPENDS="ncurses readline" |
pascal@23507 | 15 BUILD_DEPENDS="libtool bash file ncurses-dev readline-dev udev-dev" |
pascal@15209 | 16 |
pascal@15209 | 17 # Rules to configure and make the package. |
pascal@15209 | 18 compile_rules() |
pascal@15209 | 19 { |
Hans-G?nter@22068 | 20 # 1.0.0b3 |
Hans-G?nter@22068 | 21 # sed -i 's/(char\*)spm += /spm = (char*)spm + /' wrudf/wrudf.c |
Hans-G?nter@22068 | 22 # sed -i 's/<stdio.h>/&\n#include <limits.h>/' \ |
Hans-G?nter@22068 | 23 # cdrwtool/cdrwtool.c pktsetup/pktsetup.c |
Hans-G?nter@22068 | 24 |
Hans-G?nter@22068 | 25 ./autogen.sh && |
pascal@15209 | 26 ./configure --prefix=/usr && |
pascal@15209 | 27 make && |
pascal@15209 | 28 make DESTDIR=$DESTDIR install |
pascal@15209 | 29 } |
pascal@15209 | 30 |
pascal@15209 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15209 | 32 genpkg_rules() |
pascal@15209 | 33 { |
pascal@15209 | 34 mkdir -p $fs/usr |
Hans-G?nter@22068 | 35 |
Hans-G?nter@22068 | 36 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22068 | 37 cp -a $install/usr/sbin $fs/usr |
pascal@15209 | 38 } |