mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
libsmdev: new recipe (#1675)
This commit is contained in:
committed by
Jérôme Duval
parent
137a885fe2
commit
2e3ab8a29e
67
dev-libs/libsmdev/libsmdev-20170225.recipe
Normal file
67
dev-libs/libsmdev/libsmdev-20170225.recipe
Normal file
@@ -0,0 +1,67 @@
|
||||
SUMMARY="Library to access to storage media device"
|
||||
DESCRIPTION="libsmdev is a library to access to storage media devices."
|
||||
HOMEPAGE="https://github.com/libyal/libsmdev"
|
||||
COPYRIGHT="2010-2017 Joachim Metz"
|
||||
LICENSE="GNU LGPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/libyal/libsmdev/releases/download/20170225/libsmdev-alpha-20170225.tar.gz"
|
||||
CHECKSUM_SHA256="aa5d1cac3c23b46adc9c69e8bcc9b3782cfbf6cb0c2ab7fbd2c5a39b299fcc04"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libsmdev${secondaryArchSuffix} = $portVersion
|
||||
lib:libsmdev${secondaryArchSuffix} = 1.0.0 compat >= 1
|
||||
cmd:smdevinfo${secondaryArchSuffix}
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix}
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libsmdev${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libsmdev$secondaryArchSuffix = 1.0.0 compat >= 1
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libsmdev$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -vfi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
#remove libtool file
|
||||
rm $libDir/*.la
|
||||
|
||||
prepareInstalledDevelLib libsmdev
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user