Fix libdsk recipe.

This commit is contained in:
Adrien Destugues
2013-10-02 22:52:43 +02:00
parent 260d1dd74d
commit 1de22da1c6

View File

@@ -1,30 +1,65 @@
DESCRIPTION="LibDSK is a library for manipulating disk image files"
SUMMARY="LibDSK is a library for manipulating disk image files"
HOMEPAGE="http://www.seasip.demon.co.uk/Unix/LibDsk/"
SRC_URI="http://www.seasip.info/Unix/LibDsk/libdsk-1.3.3.tar.gz"
REVISION="1"
STATUS_HAIKU="untested"
DEPEND=""
#CHECKSUM_MD5=""
ARCHITECTURES="x86 x86_gcc2"
CHECKSUM_MD5="2cce41b4b1325d697183e34afcae2a9c"
PROVIDES="
libdsk = $portVersion
lib:libdsk = $portVersion
devel:libdsk
cmd:apriboot
cmd:dskdump
cmd:dskform
cmd:dskid
cmd:dskscan
cmd:dsktrans
cmd:dskutil
cmd:md3serial
"
REQUIRES="
haiku >= $haikuVersion
lib:libz
"
BUILD_PREREQUIRES="
cmd:libtoolize
cmd:autoconf
cmd:make
cmd:gcc
"
BUILD()
{
cd libdsk-1.3.3
# Need to update the libtools in the package to build shared libraries
libtoolize
# We need a makefile to run make distclean...
./configure --prefix=/boot/common
# Make sure autotools know about the updated libtools...
make distclean
# ... and run configure again
./configure --prefix=/boot/common
libtoolize --install --copy --force
autoconf
runConfigure ./configure
make
}
INSTALL()
{
cd libdsk-1.3.3
make install
prepareInstalledDevelLib libdsk
}
COPYRIGHT="2010 John Elliott"
LICENSE="GNU GPL v2"
DESCRIPTION="
LIBDSK is a library for accessing discs and disc image files. It is
intended for use in:
* Emulator tools - converting between real floppy discs and disc images, as
CPCTRANS / PCWTRANS do under DOS.
* Filesystem utilities - CPMTOOLS is configurable to use LIBDSK, thus
allowing the use of CPMTOOLS on emulator .DSK images. To do this, install
LIBDSK and then build CPMTOOLS, using \"./configure --with-libdsk\". For
CPMTOOLS 1.9 or 2.0, you will also need to apply this patch.
* Emulators - it is possible to use LIBDSK as part of an emulator's floppy
controller emulation, thus giving the emulator transparent access to .DSK
files or real discs.
"