Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: ObjFW-1.0.5 #46204

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -4267,3 +4267,6 @@ libgrass_gproj.8.3.so grass-8.3.0_1
libgrass_imagery.8.3.so grass-8.3.0_1
libgrass_raster.8.3.so grass-8.3.0_1
libgrass_vector.8.3.so grass-8.3.0_1
libobjfw.so.1 ObjFW-1.0.5_1
libobjfwrt.so.1 ObjFW-1.0.5_1
libobjfwtls.so.1 ObjFW-1.0.5_1
1 change: 1 addition & 0 deletions srcpkgs/ObjFW-devel
1 change: 1 addition & 0 deletions srcpkgs/ObjFW-doc
51 changes: 51 additions & 0 deletions srcpkgs/ObjFW/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Template file for 'ObjFW'
pkgname=ObjFW
version=1.0.5
revision=1
build_style=gnu-configure
hostmakedepends="clang doxygen"
makedepends="openssl-devel"
short_desc="Portable framework for the Objective-C language"
maintainer="Jason Barmparesos <github@jasonb.dev>"
license="GPL-2.0-only,GPL-3.0-only,QPL-1.0"
homepage="https://objfw.nil.im"
changelog="https://objfw.nil.im/file?name=ChangeLog&ci=trunk"
distfiles="https://objfw.nil.im/downloads/objfw-${version}.tar.gz"
checksum=798bda0590970fea10d5c8064e98088bb9960b3bc0475d92db443b0df9f205c4

do_configure() {
if [ -n "${XBPS_CROSS_TRIPLET}" ]; then
./configure ${configure_args} \
OBJC="clang --target=${XBPS_CROSS_TRIPLET}"
else
./configure ${configure_args} OBJC=clang
fi
}

do_build() {
make ${makejobs}
make docs
}

post_install() {
vmkdir usr/share/doc/objfw
vcopy "docs/*" usr/share/doc/objfw
}

ObjFW-devel_package() {
short_desc+=" - development files and utilities"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/bin/*objfw-*"
}
}

ObjFW-doc_package() {
short_desc+=" - developer documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}