aboutsummaryrefslogtreecommitdiff
path: root/core/cpt
diff options
context:
space:
mode:
Diffstat (limited to 'core/cpt')
-rwxr-xr-xcore/cpt/build10
-rw-r--r--core/cpt/checksums4
-rw-r--r--core/cpt/depends3
-rw-r--r--core/cpt/files/cpt-base7
-rw-r--r--core/cpt/message5
-rw-r--r--core/cpt/meta3
-rwxr-xr-xcore/cpt/post-install13
-rw-r--r--core/cpt/sources2
-rw-r--r--core/cpt/version2
9 files changed, 19 insertions, 30 deletions
diff --git a/core/cpt/build b/core/cpt/build
index 20ced110..6b2e4e0f 100755
--- a/core/cpt/build
+++ b/core/cpt/build
@@ -1,8 +1,10 @@
#!/bin/sh -e
-make PREFIX=/usr DESTDIR="$1" install
+./configure \
+ --prefix=/usr
-install -Dm644 cpt-base "$1/etc/cpt-base"
-install -Dm755 news "$1/usr/bin/cpt-news"
+make
+make DESTDIR="$1" install
-install -Dm755 src/cpt "$1/usr/bin/cpt"
+clinst -Dm644 cpt-base "$1/etc/cpt/base"
+clinst -Dm755 news "$1/usr/bin/cpt-news"
diff --git a/core/cpt/checksums b/core/cpt/checksums
index 22ee2191..02b0b4ec 100644
--- a/core/cpt/checksums
+++ b/core/cpt/checksums
@@ -1,3 +1,3 @@
-bae58efd68ed95294666363a433a0de8e0133906da9dd5f6ba5aaddc05394a0c 5.1.2.tar.gz
+69931e1e3068219a8afeb4dbc5a6ce6d24c39defb648a0efcaff0f8fe64f3e1f cpt-7.0.2.tar.xz
1f6d1470f254164898fc5a3ab5ddf1c57c873c3cfbfd0acb519a8f242265540a news
-e1401cff417a903e72355edf878ef946eb674a051cb2cfeda356863d21495e76 cpt-base
+ab1fe74142b1fb1339b4ede5c5a8bcf9f97b7d6c5abfb59a7094be0959210482 cpt-base
diff --git a/core/cpt/depends b/core/cpt/depends
index a615eba9..637fa0b3 100644
--- a/core/cpt/depends
+++ b/core/cpt/depends
@@ -1,2 +1,5 @@
+b3sum
+cl-utils
curl
+otools
rsync
diff --git a/core/cpt/files/cpt-base b/core/cpt/files/cpt-base
index ad4d1dc7..c2922e15 100644
--- a/core/cpt/files/cpt-base
+++ b/core/cpt/files/cpt-base
@@ -7,17 +7,16 @@ binutils
byacc
busybox
bzip2
-ca-certificates
curl
flex
gcc
git
rsync
-gzip
+pigz
+otools
cpt
-bearssl
+libressl
linux-headers
-m4
make
musl
pkgconf
diff --git a/core/cpt/message b/core/cpt/message
deleted file mode 100644
index 271062b6..00000000
--- a/core/cpt/message
+++ /dev/null
@@ -1,5 +0,0 @@
-NOTE
-
- 'cpt-news' tool was added to see news about the distribution. Feel free to
- check it out and give your feedback.
-
diff --git a/core/cpt/meta b/core/cpt/meta
new file mode 100644
index 00000000..12ed1da0
--- /dev/null
+++ b/core/cpt/meta
@@ -0,0 +1,3 @@
+description: Carbs Packaging Tools
+license: MIT
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/core/cpt/post-install b/core/cpt/post-install
deleted file mode 100755
index 7f98b4d9..00000000
--- a/core/cpt/post-install
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-grep -q '\.la$' "$CPT_ROOT/var/db/cpt/installed/"*/manifest || exit 0
-
-find "$CPT_ROOT/usr/lib" \
- ! -type d \
- -name '*.la' \
- -exec rm -f -- {} +
-
-find "$CPT_ROOT/var/db/cpt/installed" \
- ! -type d \
- -name manifest \
- -exec sed -i '/.*\.la$/d' {} +
diff --git a/core/cpt/sources b/core/cpt/sources
index d228981c..01785819 100644
--- a/core/cpt/sources
+++ b/core/cpt/sources
@@ -1,3 +1,3 @@
-https://github.com/carbslinux/cpt/archive/5.1.2.tar.gz
+https://fossil.carbslinux.org/cpt/uv/cpt-7.0.2.tar.xz
files/news
files/cpt-base
diff --git a/core/cpt/version b/core/cpt/version
index 27b49972..e796a3f2 100644
--- a/core/cpt/version
+++ b/core/cpt/version
@@ -1 +1 @@
-5.1.2 2
+7.0.2 1