diff --git a/dev/libs/ell/ympbuild b/dev/libs/ell/ympbuild new file mode 100644 index 00000000..d9f1b733 --- /dev/null +++ b/dev/libs/ell/ympbuild @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +name='ell' +release='1' +version='0.56' +url='https://01.org/ell' +description='Embedded Linux library' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2.1') +source=(https://mirrors.edge.kernel.org/pub/linux/libs/$name/$name-$version.tar.{xz,sign}) +depends=() +makedepends=() +md5sums=('9a18412975b3d0b8fb24c582646e3446' '949e4fbe138aafc771b7463ba376c601') +group=(dev.libs) +uses=() +arch=('x86_64') + +cd $name-$version + +setup(){ + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ +} + +build(){ + make $jobs +} + +package(){ + make install $jobs +} + diff --git a/dev/libs/libical/ympbuild b/dev/libs/libical/ympbuild new file mode 100644 index 00000000..1e8871ac --- /dev/null +++ b/dev/libs/libical/ympbuild @@ -0,0 +1,37 @@ +#!/usr/bin/env bash +name='libical' +release='1' +version='3.0.16' +url='https://github.com/libical/libical' +description='An open source reference implementation of the icalendar data type and serialization format' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL' 'MPL') +source=("https://github.com/libical/libical/archive/refs/tags/v${version}.tar.gz") +depends=('glibc' 'glib' 'icu' 'libxml2') +makedepends=('cmake' 'ninja' 'gtk-doc' 'vala' 'gobject-introspection') +md5sums=('3799f9dde1db6f7eb0cb112b5e14ab60') +group=(dev.libs) +uses=() +arch=('x86_64') + +#cd $name-$version + +build(){ + cmake -S "$name-$version" -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib64/ \ + -DGOBJECT_INTROSPECTION=true \ + -DICAL_GLIB_VAPI=true \ + -DSHARED_ONLY=true \ + -DICAL_BUILD_DOCS=False \ + -DENABLE_GTK_DOC=False \ + -DCMAKE_DISABLE_FIND_PACKAGE_BerkeleyDB=true + cmake --build build +} + +package(){ + DESTDIR="${DESTDIR}" cmake --install build +} + diff --git a/net/wireless/bluez/ympbuild b/net/wireless/bluez/ympbuild new file mode 100644 index 00000000..3771d4f3 --- /dev/null +++ b/net/wireless/bluez/ympbuild @@ -0,0 +1,44 @@ +#!/usr/bin/env bash +name='bluez' +#pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 'bluez-plugins') +release='1' +version='5.66' +url='https://www.bluez.org' +description='Daemons for the bluetooth protocol stack' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://www.kernel.org/pub/linux/bluetooth/bluez-${version}.tar.xz" "https://www.linuxfromscratch.org/patches/blfs/svn/bluez-${veraion}-obexd_without_systemd-1.patch") +depends=(glib) +makedepends=(dbus libical json-c alsa-lib ell ) +md5sums=('3f9496fedf878fba985e56713ed7752e' '62962daa1b19bbcc2db10b7bfd531ea6') +group=(net.wireless) +uses=() +arch=('x86_64') + +cd $name-$version + +patch -Np1 -i ../bluez-5.66-obexd_without_systemd-1.patch + +setup(){ + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-library \ + --disable-manpages \ + --disable-systemd +} + +build(){ + make $jobs +} + +package (){ + make install $jobs + ln -svf ../libexec/bluetooth/bluetoothd /usr/sbin + install -v -dm755 /etc/bluetooth + install -v -m644 src/main.conf /etc/bluetooth/main.conf + install -v -dm755 /usr/share/doc/bluez-5.66 + install -v -m644 doc/*.txt /usr/share/doc/bluez-5.66 +}